This composite action should provide an all-in-one solution for having your LaTeX documents compiled and published on GitHub.
name: Build LaTeX and deploy on GitHub Releases
on:
push:
jobs:
Setup-Compile-Deploy:
runs-on: ubuntu-latest
steps:
- uses: DanySK/compile-and-publish-all-latex@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
Maybe pick the latest version instead of master
...
This action supports the generation of differential documents by wrappin auto-latexdiff.
Diffs can be enabled by setting diff-enable
to true
.
The following snippet launches the action with all parameters set to their default value.
name: Build LaTeX and deploy on GitHub Releases
on:
push:
jobs:
Setup-Compile-Deploy:
runs-on: ubuntu-latest
steps:
- uses: DanySK/compile-and-publish-all-latex@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
# All the following parameters are optional, and these are their default values
diff-enable: false
diff-files: |
**/*.tex
diff-lightweight-tags: false
diff-tag-regex: |
.*
publish-enable: true