Skip to content

Commit f4e441b

Browse files
authored
move write permissions to top-level for docs deploy
1 parent e3a928e commit f4e441b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-mkdocs-website.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
- 'docs/**/**'
1111
- 'mkdocs.yml'
1212

13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
build-and-deploy:
1518
if: ${{github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true}}
1619
runs-on: ubuntu-latest
17-
permissions:
18-
contents: write
1920

2021
steps:
2122
- name: Checkout repository

0 commit comments

Comments
 (0)