File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ doc.darukjs.com
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+
3
+ # abort on errors
4
+ set -e
5
+
6
+ # build
7
+ npm run doc
8
+
9
+ # navigate into the build output directory
10
+ cp CNAME docs/
11
+ cd docs/
12
+
13
+ # if you are deploying to a custom domain
14
+ # echo 'www.example.com' > CNAME
15
+
16
+ git init
17
+ git add -A
18
+ git commit -m ' deploy doc'
19
+
20
+ # if you are deploying to https://<USERNAME>.github.io
21
+ # git push -f [email protected] :<USERNAME>/<USERNAME>.github.io.git master
22
+
23
+ # if you are deploying to https://<USERNAME>.github.io/<REPO>
24
+ # git push -f https://github.com/Youjingyu/clinic-doc-zh.git master:gh-pages
25
+ git push -f
[email protected] :darukjs/daruk.git master:gh-pages
26
+
27
+ cd -
Original file line number Diff line number Diff line change 5
5
"main" : " build/index.js" ,
6
6
"scripts" : {
7
7
"doc" : " typedoc" ,
8
+ "deploydoc" : " ./deployDoc.sh" ,
8
9
"contributors:add" : " all-contributors add" ,
9
10
"contributors:generate" : " all-contributors generate" ,
10
11
"dev" : " ts-node --project tsconfig.json --files src/index.ts" ,
You can’t perform that action at this time.
0 commit comments