File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
- name : " Publish website with slides to GH Pages"
1
+ name : " Publish website with GH Pages"
2
2
3
3
on :
4
4
push :
5
5
branches : ["main"]
6
6
workflow_dispatch :
7
7
8
+
8
9
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9
10
permissions :
10
- contents : " read"
11
- pages : " write"
12
- id-token : " write"
11
+ contents : read
12
+ pages : write
13
+ id-token : write
14
+
13
15
14
16
# Allow one concurrent deployment
15
17
concurrency :
16
18
group : " pages"
17
19
cancel-in-progress : true
18
20
19
- # Default to bash in login mode
20
- defaults :
21
- run :
22
- shell : " bash -l {0}"
23
21
24
22
jobs :
25
23
build :
@@ -28,13 +26,13 @@ jobs:
28
26
contents : " write"
29
27
steps :
30
28
- name : " Check out repository"
31
- uses : " actions/checkout@v4 "
29
+ uses : " actions/checkout@v3 "
32
30
33
31
- name : " Set up Quarto"
34
32
uses : " quarto-dev/quarto-actions/setup@v2"
35
33
36
- - name : " Render Quarto website "
37
- run : " quarto-dev/quarto-actions/render@v2"
34
+ - name : " Render"
35
+ uses : " quarto-dev/quarto-actions/render@v2"
38
36
39
37
- name : " Upload artifact"
40
38
uses : " actions/upload-pages-artifact@v3"
51
49
steps :
52
50
- name : " Deploy to GitHub Pages"
53
51
id : " deployment"
54
- uses : " actions/deploy-pages@v2 "
52
+ uses : " actions/deploy-pages@v4 "
You can’t perform that action at this time.
0 commit comments