Skip to content

Commit

Permalink
Update permissions on github-pages deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Aug 15, 2024
1 parent cc6bd57 commit 6d73560
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ jobs:
path: ./build/html

deploy:
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 6d73560

Please sign in to comment.