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