Skip to content

Commit 4e0f83b

Browse files
authored
Update permissions for MkDocs deployment
Added permissions for GitHub Actions to allow writing to pages.
1 parent 2fff43b commit 4e0f83b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Deploy MkDocs
16-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
16+
permissions:
17+
contents: read
18+
pages: write
1719
env:
1820
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1921

0 commit comments

Comments
 (0)