File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
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.3.4
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/github-pages-deploy-action@4.1.0
21
+ with :
22
+ branch : gh-pages
23
+ folder : gh-pages
Original file line number Diff line number Diff line change 26
26
"scripts" : {
27
27
"build" : " rm -rf lib && babel src -d lib" ,
28
28
"build-docs" : " esdoc" ,
29
+ "build-gh-pages" : " npm run build-docs" ,
29
30
"cover" : " c8 --all --src src --reporter=lcov npm test" ,
30
31
"lint-config" : " fixpack --dryRun" ,
31
32
"lint-config-and-fix" : " fixpack || fixpack" ,
You can’t perform that action at this time.
0 commit comments