This repository was archived by the owner on Mar 15, 2021. It is now read-only.
File tree 2 files changed +29
-1
lines changed
2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 22
22
"packages:reset" : " lerna exec -- npx rimraf ./node_modules" ,
23
23
"packages:remove" : " lerna exec -- yarn remove" ,
24
24
"release" : " cross-env HUSKY_BYPASS=true lerna publish from-git --yes" ,
25
- "commit" : " npx git-cz"
25
+ "commit" : " npx git-cz" ,
26
+ "deploy:docs" : " node scripts/docs-deploy.sh"
26
27
},
27
28
"bugs" : {
28
29
"url" : " https://github.com/f3ltron/vuepress-plugin-docgen/issues"
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
+ cd packages/docs
7
+
8
+ # build
9
+ yarn run docs:build
10
+
11
+ # navigate into the build output directory
12
+ cd docs/.vuepress/dist
13
+
14
+ # if you are deploying to a custom domain
15
+ # echo 'www.example.com' > CNAME
16
+
17
+ git init
18
+ git add -A
19
+ git commit -m ' deploy'
20
+
21
+ # if you are deploying to https://<USERNAME>.github.io
22
+ # git push -f [email protected] :<USERNAME>/<USERNAME>.github.io.git master
23
+
24
+ # if you are deploying to https://<USERNAME>.github.io/<REPO>
25
+ git push -f https://github.com/f3ltron/vuepress-plugin-docgen.git master:gh-pages
26
+
27
+ cd -
You can’t perform that action at this time.
0 commit comments