Skip to content

Remove stack from canonical name list #290

Remove stack from canonical name list

Remove stack from canonical name list #290

Workflow file for this run

name: Documentation Building
on:
release:
types: [published]
push:
branches:
- main
jobs:
docs:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: pdm-project/setup-pdm@v4
name: Set up PDM
with:
python-version: "3.11"
allow-python-prereleases: true
cache: true
- name: Install dependencies
run: pdm install -G:all
- name: Fetch gh pages
run: git fetch origin gh-pages --depth=1
- name: Build release docs
run: pdm run python scripts/build-docs.py docs-build
if: github.event_name == 'release'
- name: Build dev docs
run: pdm run python scripts/build-docs.py docs-build
if: github.event_name == 'push'
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs-build