We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67feae2 commit a8f2c14Copy full SHA for a8f2c14
.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
1
+on:
2
+ workflow_dispatch:
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
8
+permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - uses: actions/setup-node@v3
19
+ with:
20
+ node-version: "*"
21
+ - run: npm update
22
+ - run: npm run build
23
+ - uses: actions/upload-pages-artifact@v3
24
25
+ path: "public/"
26
+ deploy:
27
+ environment:
28
+ name: github-pages
29
+ url: ${{ steps.deployment.outputs.page_url }}
30
31
+ needs: build
32
33
+ - name: Deploy to GitHub Pages
34
+ id: deployment
35
+ uses: actions/deploy-pages@v4
0 commit comments