Skip to content

move permissions to the correct level #3

move permissions to the correct level

move permissions to the correct level #3

Workflow file for this run

jobs:
deploy:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permission:

Check failure on line 5 in .github/workflows/book.yaml

View workflow run for this annotation

GitHub Actions / Deploy to GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/book.yaml (Line: 5, Col: 5): Unexpected value 'permission'
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v29
- run: nix develop .#book -c mdbook build ./.
- if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
name: Deploy to GitHub Pages
'on':
push:
branches:
- main