Skip to content

Commit

Permalink
fix:publishing docs permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed May 7, 2024
1 parent f62d362 commit 04e3bec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
environment:
name: pypi
Expand All @@ -36,7 +37,7 @@ jobs:

- name: Publish documentation
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
pip install -r docs/requirements.txt
Expand Down

0 comments on commit 04e3bec

Please sign in to comment.