Commit b966da5 1 parent b8a6617 commit b966da5 Copy full SHA for b966da5
File tree 1 file changed +21
-8
lines changed
1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 6
6
name : Publish
7
7
8
8
jobs :
9
- build-deploy :
9
+ build :
10
10
runs-on : ubuntu-latest
11
- permissions :
12
- contents : write
11
+
13
12
steps :
14
13
- name : Check out repository
15
14
uses : actions/checkout@v4
25
24
with :
26
25
version : pre-release
27
26
28
- - name : Render and publish
29
- uses : quarto-dev/quarto-actions/publish@v2
27
+ - name : Render
28
+ uses : quarto-dev/quarto-actions/render@v2
29
+
30
+ - name : Upload artifact
31
+ id : deployment
32
+ uses : actions/upload-pages-artifact@v3
30
33
with :
31
- target : gh-pages
32
- env :
33
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ path : _book
35
+
36
+ deploy :
37
+ environment :
38
+ name : github-pages
39
+ url : ${{ steps.deployment.outputs.page_url }}
40
+ runs-on : ubuntu-latest
41
+ needs : build
42
+
43
+ steps :
44
+ - name : Deploy to GitHub Pages
45
+ id : deployment
46
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments