Skip to content

Fix: add write permissions for mkdocs (#25) #2

Fix: add write permissions for mkdocs (#25)

Fix: add write permissions for mkdocs (#25) #2

Workflow file for this run

name: Publish docs
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/mkdocs.yml"
- "docs/**"
- ".markdownlint.yaml"
- "mkdocs.yml"
jobs:
docs:
name: Publish docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
REQUIREMENTS: docs/requirements.txt
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}