Updated refrences. #121
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 LaTeX document | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_latex: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: "3.11" | |
activate-environment: fall-prob-paper | |
environment-file: fall-prob-paper-env.yml | |
miniforge-version: latest | |
- name: Create figures | |
shell: bash -el {0} | |
run: | | |
python src/control.py | |
python src/generate_time_series_imgs.py | |
Rscript src/statistics.R | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: main.tex | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PDF | |
path: main.pdf | |
- name: Setup deploy folder | |
run: | | |
mkdir ghpages | |
mv main.pdf ghpages/main.pdf | |
- name: Push PDF to ghpages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ghpages | |
single-commit: true |