Try docs/_site/ #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build document in CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build slides | |
| uses: xu-cheng/latex-action@v4 | |
| with: | |
| root_file: git.tex | |
| texlive_version: 2025 | |
| latexmk_use_lualatex: true | |
| latexmk_shell_escape: true | |
| pre_compile: "cd git" | |
| - name: Release draft | |
| uses: softprops/action-gh-release@v2.5.0 | |
| # if: github.ref_type == 'tag' | |
| with: | |
| name: draft | |
| draft: true | |
| files: git/git.pdf | |
| - name: Archive built PDF document | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: git-pdf | |
| path: git/git.pdf | |
| - name: Upload slides to GitHub pages site | |
| uses: actions/upload-pages-artifact@v4.0.0 | |
| with: | |
| path: ./docs/_site/ |