Skip to content

Commit d4c8d3a

Browse files
authored
Fix LaTeX build config. (#349)
* First, worflow dispatch. * Debugging. * Flibble * Flibble two electric boogaloo * Run on pushes to main And on pull requests that edit the latex src files.
1 parent 76b005f commit d4c8d3a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/doc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ on:
33
push:
44
branches:
55
- main
6+
pull_request:
67
paths:
78
- 'doc/latex/**'
9+
workflow_dispatch:
810
jobs:
911
build_latex:
1012
runs-on: ubuntu-latest
@@ -14,7 +16,7 @@ jobs:
1416
with:
1517
ref: ${{ github.head_ref }}
1618
- name: Compile LaTeX document
17-
uses: xu-cheng/latex-action@v2
19+
uses: xu-cheng/latex-action@v3
1820
with:
1921
root_file: masterdoc.tex
2022
working_directory: doc/latex
@@ -23,7 +25,7 @@ jobs:
2325
mv doc/latex/masterdoc.pdf .
2426
ls | grep -xv "masterdoc.pdf" | xargs rm -rf
2527
- name: Commit documentation
26-
uses: stefanzweifel/git-auto-commit-action@v4
28+
uses: stefanzweifel/git-auto-commit-action@v5
2729
with:
2830
commit_message: Build documentation
2931
branch: gh-doc

0 commit comments

Comments
 (0)