-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b95ce02
commit b3b4416
Showing
12 changed files
with
1,535 additions
and
1,560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
Oops, something went wrong.