Skip to content

allow write permissions for github workflow #2

allow write permissions for github workflow

allow write permissions for github workflow #2

Workflow file for this run

jobs:
deploy:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
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
permission:

Check failure on line 20 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: 20, Col: 1): Unexpected value 'permission'
contents: write