@@ -18,20 +18,40 @@ jobs:
1818
1919 - name : Set up Quarto
2020 uses : quarto-dev/quarto-actions/setup@v2
21-
22- - name : Install TinyTeX directly
21+
22+ - name : Install TinyTeX
2323 run : |
24- # Install TinyTeX using the direct installer rather than quarto's command
25- wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh
24+ # Install required packages first
25+ sudo apt-get update
26+ sudo apt-get install -y wget perl
27+
28+ # Create directory and install TinyTeX
29+ mkdir -p ~/.local/share/tinytex/bin
30+ wget -qO- "https://yihui.org/tinytex/install-unx.sh" | sh
31+
2632 # Add TinyTeX to PATH
27- echo "$HOME/.TinyTeX/bin/x86_64-linux" >> $GITHUB_PATH
28- # Test LaTeX installation
29- tlmgr --version
33+ echo "$HOME/.local/share/tinytex/bin" >> $GITHUB_PATH
34+
35+ # Wait for PATH to update
36+ sleep 5
37+
38+ # Verify installation
39+ which pdflatex || echo "pdflatex not found"
40+ ls -la ~/.local/share/tinytex/bin || echo "TinyTeX bin directory not found or empty"
3041
3142 - name : Ensure images directory exists
3243 run : |
3344 mkdir -p images
3445
46+ - name : Simple placeholder cover
47+ run : |
48+ sudo apt-get install -y imagemagick
49+ convert -size 800x1200 xc:blue -gravity center \
50+ -pointsize 48 -fill white -annotate 0 "From Zero to Production" \
51+ -pointsize 28 -fill white -annotate +0+80 "A Practical Python Development Pipeline" \
52+ -pointsize 24 -fill white -annotate +0+150 "Michael Borck" \
53+ images/cover.png
54+
3555 - name : Render and Publish
3656 uses : quarto-dev/quarto-actions/publish@v2
3757 with :
0 commit comments