We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61036fe commit ac023dbCopy full SHA for ac023db
1 file changed
.github/workflows/deploy
@@ -0,0 +1,32 @@
1
+name: GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
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: '16'
19
20
+ - name: Install dependencies
21
+ run: npm i
22
23
+ - name: Build
24
+ run: npm run build:pages
25
26
+ - name: Deploy
27
+ if: success()
28
+ uses: peaceiris/actions-gh-pages@v3
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
+ publish_dir: ./dist
32
+ enable_jekyll: true
0 commit comments