Skip to content

Update main.yml

Update main.yml #12

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: 6, Col: 3): Unexpected value 'permissions', (Line: 17, 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
permissions:
contents: read
pages: write
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Deploy MkDocs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}