Skip to content

Commit

Permalink
增加学习知识Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderMikeHe committed Jun 21, 2019
1 parent b95ce02 commit b3b4416
Show file tree
Hide file tree
Showing 12 changed files with 1,535 additions and 1,560 deletions.
25 changes: 25 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env sh

# 当发生错误时中止脚本
set -e

# 构建
npm run build

# cd 到构建输出的目录下
cd dist

# 部署到自定义域域名
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

# 部署到 https://<USERNAME>.github.io
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git master

# 部署到 https://<USERNAME>.github.io/<REPO>
git push -f [email protected]:CoderMikeHe/vue-wechat.git master:gh-pages

cd -
Loading

0 comments on commit b3b4416

Please sign in to comment.