File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 9
9
# Allow running this workflow manually from the Actions tab.
10
10
workflow_dispatch :
11
11
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
- permissions :
14
- contents : read
15
- pages : write
16
- id-token : write
12
+ permissions : {}
17
13
18
14
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19
15
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
28
24
29
25
name : " Build the website"
30
26
runs-on : ubuntu-latest
27
+
28
+ permissions :
29
+ contents : read # to read the contents of the repo
30
+
31
31
steps :
32
32
# By default use the `gh-pages` branch.
33
33
# For testing changes to the workflow or the scripts, use the PR branch
84
84
name : github-pages
85
85
url : ${{ steps.deployment.outputs.page_url }}
86
86
87
+ permissions :
88
+ pages : write # to deploy to Pages
89
+ id-token : write # to verify the deployment originates from an appropriate source
90
+
87
91
steps :
88
92
- name : Deploy to GitHub Pages
89
93
id : deployment
You can’t perform that action at this time.
0 commit comments