Skip to content

Commit

Permalink
add permissions settings for github pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
masao committed Feb 10, 2024
1 parent 85021f2 commit d18cc4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Publish to GitHub Pages
on:
push:
branches: [main, master]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d18cc4e

Please sign in to comment.