We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4a0c0 commit 6f94eb3Copy full SHA for 6f94eb3
.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
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
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
+ cache: 'npm'
21
+ - run: npm ci
22
+ - run: npm run build
23
+ - uses: actions/upload-pages-artifact@v2
24
25
+ path: ./dist
26
27
+ deploy:
28
+ needs: build
29
30
+ environment:
31
+ name: github-pages
32
+ url: ${{ steps.deployment.outputs.page_url }}
33
34
+ - id: deployment
35
+ uses: actions/deploy-pages@v2
0 commit comments