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 71b6bf3 commit dd6d471Copy full SHA for dd6d471
.github/workflows/publish.yml
@@ -0,0 +1,28 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ node-version: [16.x]
14
+ steps:
15
+ - uses: actions/checkout@v1
16
+ - name: Use Node.js ${{ matrix.node-version }}
17
+ uses: actions/setup-node@v1
18
+ with:
19
+ node-version: ${{ matrix.node-version }}
20
+ - name: Install Packages
21
+ run: npm ci
22
+ - name: Build page
23
+ run: npm run build
24
+ - name: Deploy to gh-pages
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./build
0 commit comments