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