File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deployment
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ concurrency :
14
+ group : pages
15
+ cancel-in-progress : false
16
+
17
+ jobs :
18
+ deploy :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : checkout
22
+ uses : actions/checkout@v4
23
+ - name : pnpm
24
+ uses : pnpm/action-setup@v4
25
+ with :
26
+ version : 9
27
+ - name : node
28
+ uses : actions/setup-node@v4
29
+ with :
30
+ node-version : 22
31
+ cache : pnpm
32
+ - name : install
33
+ run : pnpm -r i --frozen-lockfile
34
+ - name : build
35
+ run : pnpm build
36
+ - name : configure
37
+ uses : actions/configure-pages@v5
38
+ - name : upload
39
+ uses : actions/upload-pages-artifact@v3
40
+ with :
41
+ path : dist
42
+ - name : deploy
43
+ id : deployment
44
+ uses : actions/deploy-pages@v4
45
+ - name : ' logging'
46
+ run : echo "Deployed at ${{ steps.deployment.outputs.page_url }}"
You can’t perform that action at this time.
0 commit comments