Skip to content

Export reference manual to GitHub pages. #22

Export reference manual to GitHub pages.

Export reference manual to GitHub pages. #22

Workflow file for this run

name: Build & Deploy EasyCrypt Documentation
on: [push,pull_request]
jobs:
build_refman:
runs-on: ubuntu-latest
steps:
- name: Set up Git Repository
uses: actions/checkout@v4
- name: Compile Reference Manual
uses: xu-cheng/latex-action@v3
with:
working_directory: refman
latexmk_shell_escape: true
args: "-pdf -bibtex -file-line-error -halt-on-error -interaction=nonstopmode"
root_file: refman.tex
env:
TEXINPUTS: ".:../common/:"
- name: Copy Reference Manual
run: |
mkdir _pages
cp refman/refman.pdf _pages
- name: Setup Pages
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v3
- name: Upload Artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v1
with:
path: "./_pages"