瀏覽代碼

Gitbook Auto Published

willin 7 年之前
父節點
當前提交
ca518cddc3
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      cmd

+ 5 - 2
cmd

@@ -3,6 +3,7 @@
 git add .
 git commit -m 'Gitbook Auto Published'
 git push origin master
+git push coding master
 
 rm -rf _book
 node_modules/.bin/gitbook build
@@ -10,5 +11,7 @@ cd _book
 git init
 git add .
 git commit -m "Gitbook Auto Deployed"
-git remote add origin git@git.coding.net:willin/leader.js.cool.git
-git push -f origin master:coding-pages
+git remote add origin git@github.com:js-cool/leader.js.cool.git
+git remote add coding git@git.coding.net:willin/leader.js.cool.git
+git push -f origin master:gh-pages
+git push -f origin coding:coding-pages