Skip to content

Merge branch 'main' of https://github.com/ain-soph/trojanzoo #189

Merge branch 'main' of https://github.com/ain-soph/trojanzoo

Merge branch 'main' of https://github.com/ain-soph/trojanzoo #189

Workflow file for this run

name: docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
container:
image: local0state/base:cpu
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install katex
run: |
apt update
apt install -y npm
npm install -g katex
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install -r ./docs/requirements.txt
pip install -e .
- name: Compile Sphinx Docs
run: |
cd ./docs/
make html
- name: Check GitHub Pages status
uses: crazy-max/[email protected]
with:
pages_threshold: major_outage
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/[email protected]
with:
target_branch: docs
build_dir: ./docs/build/html
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}