Skip to content

Commit

Permalink
Add permission
Browse files Browse the repository at this point in the history
  • Loading branch information
syjn99 committed Dec 8, 2024
1 parent a090f7d commit 96cf001
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,17 @@ jobs:

deploy:
runs-on: ubuntu-latest
needs: [build]

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: [build]

# Permissions needed to deploy to GitHub Pages
permissions:
pages: write
id-token: write

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 96cf001

Please sign in to comment.