Skip to content

Commit

Permalink
Use permissions instead of token
Browse files Browse the repository at this point in the history
Signed-off-by: Chihurumnaya Ibiam <[email protected]>
  • Loading branch information
chimosky committed Jul 19, 2024
1 parent 282be91 commit 27c383d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
# build the documentation, but only deploy them when the PR
# gets merged
if: github.ref == 'refs/heads/master'
env:
GH_TOKEN: ${{ github.token }}
permissions:
contents: write
with:
branch: gh-pages # The branch the action should deploy to.
folder: deploy # The folder the action should deploy.

0 comments on commit 27c383d

Please sign in to comment.