File tree Expand file tree Collapse file tree 1 file changed +32
-7
lines changed Expand file tree Collapse file tree 1 file changed +32
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Docs
2
2
on : [push]
3
+
4
+ permissions :
5
+ contents : read
6
+ pages : write
7
+ id-token : write
8
+
9
+ concurrency :
10
+ group : " pages"
11
+ cancel-in-progress : false
12
+
3
13
jobs :
4
14
build-docs :
5
15
concurrency : ci-${{ github.ref }}
6
16
runs-on : ubuntu-latest
17
+
7
18
steps :
8
- - name : Checkout 🛎️
9
- uses : actions/checkout@v3
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Setup Pages
23
+ id : pages
24
+ uses : actions/configure-pages@v5
10
25
11
26
- name : Install and Build
12
27
run : make docs
13
28
14
- - name : Deploy 🚀
15
- uses :
JamesIves/github -pages-[email protected]
29
+ - name : Upload artifact
30
+ uses : actions/upload -pages-artifact@v3
16
31
with :
17
- token : ${{ secrets.GH_TOKEN }}
18
- branch : gh-pages
19
- folder : dist
32
+ path : ./dist
33
+
34
+ deploy :
35
+ environment :
36
+ name : github-pages
37
+ url : ${{ steps.deployment.outputs.page_url }}
38
+ needs : build-docs
39
+ runs-on : ubuntu-latest
40
+ name : Deploy
41
+ steps :
42
+ - name : Deploy to GitHub Pages
43
+ id : deployment
44
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments