Update benchmark scene configuration #116
This file contains 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 Report | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "report/**" | |
- ".github/workflows/build-report.yml" | |
concurrency: | |
group: build-report | |
cancel-in-progress: true | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Compile LaTeX document 🐦⬛ | |
uses: xu-cheng/latex-action@v3 | |
with: | |
working_directory: report/ | |
root_file: main.tex | |
latexmk_shell_escape: true | |
- name: Upload artifact 📦 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: report | |
path: report/main.pdf | |
overwrite: true | |
- name: Rename file to prevent it from being ignored ⚙️ | |
run: | | |
mkdir report/pdf-output | |
mv report/main.pdf report/pdf-output/report.pdf | |
- name: Deploy to separate branch 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
BRANCH: report | |
FOLDER: report/pdf-output | |
CLEAN: true # Automatically remove deleted files from the deploy branch |