File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,6 @@ concurrency:
1414jobs :
1515 build :
1616 runs-on : ubuntu-latest
17- # permissions on the GITHUB_TOKEN to allow deployment to GitHub Pages and for semantic-release
18- permissions :
19- contents : write # to be able to publish a GitHub release
20- issues : write # to be able to comment on released issues
21- pull-requests : write # to be able to comment on released pull requests
22- id-token : write # to enable use of OIDC for npm provenance and github pages publishing
23- pages : write # github pages publishing
2417
2518 steps :
2619 - uses : actions/checkout@v4
@@ -39,10 +32,15 @@ jobs:
3932
4033 pages :
4134 needs : build
35+ runs-on : ubuntu-latest
36+ permissions :
37+ contents : read
38+ pages : write
39+ id-token : write
40+
4241 environment :
4342 name : github-pages
4443 url : ${{ steps.deployment.outputs.page_url }}
45- runs-on : ubuntu-latest
4644 steps :
4745 # https://github.com/actions/deploy-pages & https://github.com/actions/starter-workflows/blob/main/pages/static.yml
4846 - uses : actions/deploy-pages@v4
5149 release :
5250 needs : build
5351 runs-on : ubuntu-latest
52+ # permissions on the GITHUB_TOKEN to allow deployment to GitHub Pages and for semantic-release
53+ permissions :
54+ contents : write # to be able to publish a GitHub release
55+ issues : write # to be able to comment on released issues
56+ pull-requests : write # to be able to comment on released pull requests
57+ id-token : write # to enable use of OIDC for npm provenance and github pages publishing
5458 steps :
5559 - env :
5660 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments