File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 6
6
- main # Set a branch to deploy
7
7
pull_request :
8
8
9
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10
- permissions :
11
- contents : read
12
- pages : write
13
- id-token : write
14
-
15
9
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
16
10
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
17
11
concurrency :
22
16
# Build job
23
17
build :
24
18
runs-on : ubuntu-latest
19
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
20
+ permissions :
21
+ contents : read
22
+ pages : write
23
+ id-token : write
25
24
steps :
26
25
- uses : actions/checkout@v4
27
26
with :
48
47
name : github-pages
49
48
url : ${{ steps.deployment.outputs.page_url }}
50
49
runs-on : ubuntu-latest
50
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
51
+ permissions :
52
+ contents : read
53
+ pages : write
54
+ id-token : write
51
55
needs : build
52
56
steps :
53
57
- name : Deploy to GitHub Pages
You can’t perform that action at this time.
0 commit comments