瀏覽代碼

Gitbook Auto Published

Willin Wang 8 年之前
父節點
當前提交
04e7e2e58a
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      cmd

+ 14 - 0
cmd

@@ -0,0 +1,14 @@
+#!/bin/bash
+
+git add .
+git commit -m 'Gitbook Auto Published'
+git push origin master
+
+rm -rf _book
+node_modules/.bin/gitbook build
+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