Skip to content

Update mkdocs.yml

Update mkdocs.yml #19

Workflow file for this run

name: Publish docs via GitHub
on:
push:
branches:
- gh-pages
permissions:
actions: write
contents: read, write

Check failure on line 8 in .github/workflows/ghpages.yml

View workflow run for this annotation

GitHub Actions / Publish docs via GitHub

Invalid workflow file

The workflow is not valid. .github/workflows/ghpages.yml (Line: 8, Col: 14): Unexpected value 'read, write'
deployments: write
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: run requirements file
run: pip install -r requirements.txt
- name: Deploy docs
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}