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 6e2395e commit 813f0f1Copy full SHA for 813f0f1
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v2
17
+ with:
18
+ node-version: '14'
19
20
+ - name: Install dependencies
21
+ run: npm ci
22
23
+ - name: Build
24
+ run: npm run buildgh
25
26
+ - name: Deploy
27
+ uses: peaceiris/actions-gh-pages@v3
28
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: ./out
0 commit comments