Skip to content

different latex build #29

different latex build

different latex build #29

Workflow file for this run

name: 🌲📄 Forester and PDF
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'README.md'
jobs:
forester:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
- name: Install dependencies
run: sudo apt install libev-dev
- name: Install Forester
run: opam install forester
- name: Update environment
run: eval $(opam env)
- name: Build forest
run: opam exec -- forester build forest.toml
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
working_directory: latex
- name: Move PDF
run:
mv latex/main.pdf output/fga.pdf
- name: Deploy to build branch
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: build
FOLDER: output