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