File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build-docs
2
+ on :
3
+ release :
4
+ types : [created]
5
+ push :
6
+ branches :
7
+ - master
8
+ tags :
9
+ - ' **'
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+ - name : Setup Pages
17
+ uses : actions/configure-pages@v5
18
+ - run : npm ci
19
+ - name : Build docs
20
+ run : npm run docs
21
+ - name : Upload artifact
22
+ uses : actions/upload-pages-artifact@v3
23
+ with :
24
+ path : ./docs/build
25
+
26
+ deploy :
27
+ permissions :
28
+ pages : write
29
+ id-token : write
30
+ environment :
31
+ name : github-pages
32
+ url : ${{ steps.deployment.outputs.page_url }}
33
+ runs-on : ubuntu-latest
34
+ needs : build
35
+ steps :
36
+ - name : Deploy to GitHub Pages
37
+ id : deployment
38
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments