Skip to content

Update permissions for MkDocs deployment #10

Update permissions for MkDocs deployment

Update permissions for MkDocs deployment #10

Workflow file for this run

name: Publish docs via GitHub Pages

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

(Line: 16, Col: 9): Unexpected value 'permissions', (Line: 15, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
push:
branches:
- main
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Deploy MkDocs
permissions:
contents: read
pages: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}