Skip to content

doc-update

doc-update #455

Workflow file for this run

name: Build site
on:
push:
branches: [main, master]
repository_dispatch:
types: [doc-update]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
fetch-depth: 0
- name: Update source/docs/ submodule
run: |
git config --global user.name "Github Actions"
git config --global user.email "[email protected]"
git submodule update --remote --recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build site
run: python build.py
- uses: JamesIves/github-pages-deploy-action@v4
with:
branch: deploy
folder: build