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 e2fdc30 commit f23761fCopy full SHA for f23761f
1 file changed
.github/workflows/pages.yml
@@ -0,0 +1,38 @@
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: true
15
16
+jobs:
17
+ build:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-node@v4
22
+ with:
23
+ node-version: 20
24
+ cache: npm
25
+ - run: npm ci
26
+ - run: npm run build
27
+ - uses: actions/upload-pages-artifact@v2
28
29
+ path: dist
30
+ deploy:
31
+ needs: build
32
33
+ environment:
34
+ name: github-pages
35
+ url: \\${{ steps.deployment.outputs.page_url }}
36
37
+ - id: deployment
38
+ uses: actions/deploy-pages@v3
0 commit comments