Skip to content

ci: Build/deploy documentation #1

ci: Build/deploy documentation

ci: Build/deploy documentation #1

Workflow file for this run

name: Build and deploy documentation
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install sphinx .
- uses: actions/configure-pages@v2
- run: make htmldocs
- uses: action/upload-pages-artifact@v1
with:
path: doc/out/html
deploy:
needs: build
permissions:
pages: write
id-toke: write

Check failure on line 32 in .github/workflows/doc.yml

View workflow run for this annotation

GitHub Actions / Build and deploy documentation

Invalid workflow file

The workflow is not valid. .github/workflows/doc.yml (Line: 32, Col: 7): Unexpected value 'id-toke'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v1