We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 668b8d4 commit 012bba4Copy full SHA for 012bba4
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,42 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions:
8
+ contents: read
9
+ pages: write
10
+ id-token: write
11
12
+concurrency:
13
+ group: pages
14
+ cancel-in-progress: false
15
16
+jobs:
17
+ build:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
22
+ - uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 20
25
+ cache: npm
26
27
+ - run: npm ci
28
+ - run: npm run build
29
30
+ - uses: actions/upload-pages-artifact@v3
31
32
+ path: dist
33
34
+ deploy:
35
+ needs: build
36
37
+ environment:
38
+ name: github-pages
39
+ url: ${{ steps.deploy.outputs.page_url }}
40
41
+ - uses: actions/deploy-pages@v4
42
+ id: deploy
0 commit comments