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 298ede7 commit 7f01b93Copy full SHA for 7f01b93
.github/workflows/main.yml
@@ -0,0 +1,29 @@
1
+name: CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@master
11
+ - name: Use Node.js 10.x
12
+ uses: actions/setup-node@v1
13
+ with:
14
+ node-version: 10.x
15
+ - name: Build Docs
16
+ run: |
17
+ cd docs
18
+ yarn install
19
+ yarn build
20
+ - name: Upload to GitHub Pages
21
+ if: github.ref == 'refs/heads/master'
22
+ uses: peaceiris/actions-gh-pages@v2.5.0
23
+ env:
24
+ GITHUB_TOKEN: ${{ secrets.GH_PAT }}
25
+ PUBLISH_BRANCH: gh-pages
26
+ PUBLISH_DIR: ./docs/build
27
28
+ emptyCommits: false
29
+ keepFiles: false
0 commit comments