Skip to content

documentation

documentation #40

Workflow file for this run

name: documentation
on: [push, pull_request, workflow_dispatch]

Check failure on line 3 in .github/workflows/documentation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/documentation.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
branches:
- main
permissions:
contents: write
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: latest
cache: true
locked: false
frozen: false
environments: doc
- run: pixi run -e doc build_docs
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/html
publish_branch: 'gh-pages'
force_orphan: 'false'