File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ jobs:
29
29
- name : Build
30
30
run : mdbook build
31
31
working-directory : book
32
- - uses : actions/upload-artifact@v4
32
+ - name : Upload static files as artifact
33
+ id : deployment
34
+ uses : actions/upload-pages-artifact@v3
33
35
with :
34
- name : book
35
36
path : book/book/html
36
-
37
37
deploy :
38
38
name : Deploy
39
39
runs-on : ubuntu-latest
@@ -46,12 +46,10 @@ jobs:
46
46
contents : read
47
47
pages : write
48
48
id-token : write
49
+ environment :
50
+ name : github-pages
51
+ url : ${{ steps.deployment.outputs.page_url }}
49
52
steps :
50
- - uses : actions/download-artifact@v4
51
- with :
52
- name : book
53
- - uses : actions/configure-pages@v5
54
- - uses : actions/upload-pages-artifact@v3
55
- with :
56
- path : .
57
- - uses : actions/deploy-pages@v4
53
+ - name : Deploy to GitHub Pages
54
+ id : deployment
55
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments