Skip to content

Workflow syntax

Workflow syntax #8

Workflow file for this run

name: Deploy Sphinx documentation to Pages
on:
push:
branches: [main] # branch to trigger deployment
jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:

Check failure on line 16 in .github/workflows/deploy_docs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy_docs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16
- id: deployment
- uses: nikeee/setup-pandoc@v1
- uses: sphinx-notes/pages@v3
with:
pyproject_extras: docs