Skip to content

Commit

Permalink
ci: Slightly clean up actions code
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Jul 30, 2024
1 parent b012969 commit 5f081aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ jobs:
- name: Compile flowchart
run: |
latexmk -pdflatex flowchart-only.tex
gs -dSAFER -r600 -sDEVICE=png256 -o flowchart.png flowchart-only.pdf
./export-flowchart.sh
- name: Extract table of contents
run: |
python3 print-toc.py --parts --chapters --numbers > toc.txt
- name: Create dist folder
run: |
Expand All @@ -115,8 +117,8 @@ jobs:
cp asy/*.asy dist/asy/
cp asy/*.pdf dist/asy/
python3 print-toc.py -pcn > dist/toc.txt
cp flowchart.png dist/
cp toc.txt dist/
cd dist
tree -H '.' -I "index.html" -D --charset utf-8 --filesfirst -T "An Infinitely Large Napkin" >index.html
Expand Down

0 comments on commit 5f081aa

Please sign in to comment.