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 a4c87bc commit 4cfa8a4Copy full SHA for 4cfa8a4
.github/workflows/docs.yaml
@@ -0,0 +1,28 @@
1
+name: Node.js CI
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Use Node.js
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: '12.x'
17
+ - name: Install dependencies
18
+ run: npm install
19
+ - name: Build docs
20
+ run: npm run docs
21
+ - name: Deploy to GitHub Pages
22
+ if: success()
23
+ uses: crazy-max/ghaction-github-pages@v2
24
25
+ target_branch: gh-pages
26
+ build_dir: docs
27
+ env:
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments