File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 9
9
env :
10
10
BASE_URL : /${{ github.event.repository.name }}
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
17
+
12
18
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
13
19
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
14
20
concurrency :
@@ -17,16 +23,11 @@ concurrency:
17
23
18
24
jobs :
19
25
deploy-book :
20
- runs-on : ubuntu-latest
21
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
22
- permissions :
23
- pages : write
24
- id-token : write
25
-
26
26
environment :
27
27
name : github-pages
28
28
url : ${{ steps.deployment.outputs.page_url }}
29
29
30
+ runs-on : ubuntu-latest
30
31
steps :
31
32
- uses : actions/checkout@v3
32
33
You can’t perform that action at this time.
0 commit comments