Browse Source

Gitbook Auto Published

Willin Wang 7 years ago
parent
commit
117ba54d77
4 changed files with 17 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 1 0
      SUMMARY.md
  3. 6 0
      cmd
  4. 9 0
      project/README.md

+ 1 - 0
.gitignore

@@ -1,4 +1,5 @@
 _book/
+_private/
 node_modules/
 
 .DS_Store

+ 1 - 0
SUMMARY.md

@@ -4,6 +4,7 @@
   - [需求分析](design/requirements.md)
   - [产品设计](design/product.md)
   - [系统架构](design/architecture.md)
+- [项目](project/README.md)
 - [运维](operation/README.md)
   - [CI工作流](operation/workflow.md)
   - [重启服务](operation/restarter.md)

+ 6 - 0
cmd

@@ -4,6 +4,12 @@ git add .
 git commit -m 'Gitbook Auto Published'
 git push origin master
 
+cd _private
+git add .
+git commit -m 'Gitbook Auto Published'
+git push origin master
+
+cd ..
 rm -rf _book
 node_modules/.bin/gitbook build
 cd _book

+ 9 - 0
project/README.md

@@ -0,0 +1,9 @@
+# 项目
+
+## 现有项目
+
+内部信息,登录访问: <https://code.aliyun.com/wulian/project>
+
+<script type="text/javascript">
+window.open('https://code.aliyun.com/wulian/project');
+</script>