Skip to content

Commit 1584ea2

Browse files
authored
Update build-book.yml
1 parent 211d261 commit 1584ea2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/build-book.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)