We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ba6f6 commit 47f7002Copy full SHA for 47f7002
.github/workflows/deploy.yaml
@@ -0,0 +1,31 @@
1
+on:
2
+ push:
3
+ branches: [main]
4
+
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Fetch latest repository
10
+ uses: actions/checkout@v4
11
+ - name: Using Node 20
12
+ uses: actions/setup-node@v4
13
+ with:
14
+ node-version: 20
15
+ - name: Setup dependencies
16
+ run: |
17
+ NODE_ENV=production yarn
18
+ cache: "yarn"
19
+ - name: Build project
20
21
+ NODE_ENV=production yarn build
22
+ - name: Upload production artifact
23
+ uses: actions/upload-artifact@v4
24
25
+ name: github-pages
26
+ path: |
27
+ dist
28
+ - name: Publishing production artifact
29
+ uses: actions/deploy-pages@v4
30
31
+ artifact_name: github-pages
0 commit comments