We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37cb63a commit 65f29e1Copy full SHA for 65f29e1
1 file changed
.github/workflows/docs.yml
@@ -1,16 +1,30 @@
1
-name: CI
+name: github pages
2
3
-on:
4
- push:
5
- branches:
6
- - master
+on:
+ push:
+ branches:
+ - master
7
8
jobs:
9
- build:
+ build-deploy:
10
+ runs-on: ubuntu-18.04
11
+ steps:
12
+ - uses: actions/checkout@v1
13
- runs-on: [ubuntu-latest]
14
+ - name: Use Node.js
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: 10.x
18
- steps:
- - name: GitHub Pages Deploy
- uses: maxheld83/ghpages@v0.2.1
-
19
+ - name: yarn install and test
20
+ run: |
21
+ cd side
22
+ yarn
23
+ yarn build
24
+
25
+ - name: Deploy
26
+ uses: peaceiris/actions-gh-pages@v2
27
+ env:
28
+ PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
29
+ PUBLISH_BRANCH: gh-pages
30
+ PUBLISH_DIR: ./side/build
0 commit comments