File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Deploy to GitHub Pages
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - " master"
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ # Allow only one concurrent deployment, skipping runs queued between the run
15
+ # in-progress and latest queued. However, do NOT cancel in-progress runs as we
16
+ # want to allow these production deployments to complete.
17
+ concurrency :
18
+ group : " pages"
19
+ cancel-in-progress : false
20
+
21
+ jobs :
22
+ deploy :
23
+ environment :
24
+ name : github-pages
25
+ url : ${{ steps.deployment.outputs.page_url }}
26
+ runs-on : ubuntu-22.04
27
+ steps :
28
+ - name : Checkout
29
+ uses : actions/checkout@v4
30
+ - name : Build
31
+ run : |
32
+ npm ci
33
+ make build
34
+ - name : Setup Pages
35
+ uses : actions/configure-pages@v5
36
+ - name : Upload artifact
37
+ uses : actions/upload-pages-artifact@v3
38
+ with :
39
+ path : " dist"
40
+ - name : Deploy to GitHub Pages
41
+ id : deployment
42
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1
1
* .md
2
+ * .yml
You can’t perform that action at this time.
0 commit comments