Skip to content

add publishing workflow #1

add publishing workflow

add publishing workflow #1

Workflow file for this run

name: documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
- uses: prefix-dev/[email protected]
with:
pixi-version: latest
cache: true
locked: false
frozen: false
environments: ['doc']

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

View workflow run for this annotation

GitHub Actions / documentation

Invalid workflow file

The workflow is not valid. .github/workflows/documentation.yml (Line: 21, Col: 25): A sequence was not expected
- 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'