Update publish-docs.yml

Add permissions.
Correct formatting.
This commit is contained in:
Nick Fedor 2025-02-03 22:24:23 -07:00
parent fdf4b3f4ea
commit 0ab8af1bad
No known key found for this signature in database
GPG key ID: A167CBEDE64D29CB

View file

@ -1,13 +1,17 @@
name: Publish Docs
on:
workflow_dispatch: { }
workflow_dispatch: {}
workflow_run:
workflows: [ "Release (Production)" ]
branches: [ main ]
workflows: ["Release (Production)"]
branches: [main]
types:
- completed
permissions:
contents: write
actions: read
jobs:
publish-docs:
name: Publish Docs
@ -26,8 +30,8 @@ jobs:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
python-version: "3.10"
cache: "pip"
cache-dependency-path: |
docs-requirements.txt
- name: Install mkdocs