Skip to content

Deploy Documentation #41

Deploy Documentation

Deploy Documentation #41

Workflow file for this run

name: Deploy Documentation
on:
workflow_run:
workflows: ["Test pull request"]
types:
- completed
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Deploy documentation
runs-on: self-hosted
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
path: '.'
- name: Build and deploy
run: |
git checkout main && git pull
make deploy PYTHON=~/build/bin/python3 TEXINPUTS=$PWD/third_party//: PATH=~/.local/texlive/2023/bin/x86_64-linux:$PATH
metrics:
name: Update metrics
needs: deploy
uses: ./.github/workflows/metric.yml
secrets: inherit