File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,14 @@ jobs:
2222 # Runs a set of commands using the runners shell
2323 - name : Run a multi-line script
2424 run : |
25- git clone https://github.com/assumptionsofphysics/book book
2625 # Clone autogen repository (target for the file)
2726 git clone https://gcarcassi:${{ secrets.AUTOGEN_TOKEN }}@github.com/assumptionsofphysics/autogen autogen
2827 # Output the directory contents for debugging
2928 ls -l
3029 # Use latexonline to build latest version
31- cd book
32- curl -L https://raw.githubusercontent.com/aslushnikov/latex-online/master/util/latexonline > laton && chmod 755 laton
30+ cd autogen
31+ curl https://raw.githubusercontent.com/aslushnikov/latex-online/master/util/latexonline -o AssumptionsOfPhysicsDraft.pdf
3332 ls -l
34- ./laton book.tex
35- ls -l
36- # Add possible changes
37- cd ../autogen
38- mv ../book.pdf AssumptionsOfPhysicsDraft.pdf
3933 git add AssumptionsOfPhysicsDraft.pdf
4034 # Commit and push only if there were changes
4135 if ! git diff --cached --quiet; then
You can’t perform that action at this time.
0 commit comments