Skip to content

Commit

Permalink
fix: Update doc publish workflow permissions (#1698)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Jul 24, 2023
1 parent 3cc4678 commit c01ea01
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ on:
push:
branches:
- main
paths:
- 'docs/**'
- mkdocs.yml
- README.md
- '.github/workflows/publish-docs.yml'
release:
types:
- published

env:
PYTHON_VERSION: 3.x
Expand All @@ -22,6 +14,8 @@ jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
Expand All @@ -42,7 +36,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install mike==1.1.2 \
mkdocs-material==9.1.4 \
mkdocs-material==9.1.19 \
mkdocs-include-markdown-plugin==4.0.4 \
mkdocs-awesome-pages-plugin==2.9.1
Expand Down

0 comments on commit c01ea01

Please sign in to comment.