Skip to content

Commit

Permalink
Updating the permissions syntax in the correct deploy job
Browse files Browse the repository at this point in the history
Signed-off-by: Sunil Singh <[email protected]>
  • Loading branch information
sunilarjun committed Oct 30, 2024
1 parent c96ab39 commit 313a1a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy:
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout main docs repo
Expand All @@ -22,3 +25,5 @@ jobs:
yarn build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 313a1a7

Please sign in to comment.