Skip to content

Commit 04e3bec

Browse files
committed
fix:publishing docs permissions
1 parent f62d362 commit 04e3bec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
publish:
1111
runs-on: ubuntu-latest
1212
permissions:
13+
contents: write
1314
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1415
environment:
1516
name: pypi
@@ -36,7 +37,7 @@ jobs:
3637

3738
- name: Publish documentation
3839
env:
39-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4041
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
4142
run: |
4243
pip install -r docs/requirements.txt

0 commit comments

Comments
 (0)