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 a94d97f commit ca0b4e8Copy full SHA for ca0b4e8
.github/workflows/gh-pages.yml
@@ -0,0 +1,23 @@
1
+name: Build and Deploy GitHub pages
2
+on:
3
+ release:
4
+ types:
5
+ - created
6
+jobs:
7
+ build-and-deploy:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout 🛎️
11
+ uses: actions/checkout@v2
12
+
13
+ - name: Install 🔧
14
+ run: npm install
15
16
+ - name: Build 🏗️
17
+ run: npm run build-gh-pages
18
19
+ - name: Deploy 🚀
20
+ uses: JamesIves/[email protected]
21
+ with:
22
+ branch: gh-pages
23
+ folder: gh-pages
package.json
@@ -25,6 +25,7 @@
25
"scripts": {
26
"build": "babel --delete-dir-on-start --env-name production src -d lib",
27
"build-docs": "esdoc",
28
+ "build-gh-pages": "npm run build-docs",
29
"cover": "c8 --all --src src --reporter=lcov npm test",
30
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
31
"lint": "xo",
0 commit comments