-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
2 changed files
with
4 additions
and
80 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
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 |
---|---|---|
@@ -1,30 +1,3 @@ | ||
# #!/usr/bin/env sh | ||
|
||
# # 确保脚本抛出遇到的错误 | ||
# set -e | ||
|
||
|
||
# push_addr=`git remote get-url --push origin` # git提交地址,也可以手动设置,比如:[email protected]:xugaoyi/vuepress-theme-vdoing.git | ||
# commit_info=`git describe --all --always --long` | ||
# dist_path=docs/.vuepress/dist # 打包生成的文件夹路径 | ||
# push_branch=gh-pages # 推送的分支 | ||
|
||
# # 生成静态文件 | ||
# npm run build | ||
|
||
# # 进入生成的文件夹 | ||
# cd $dist_path | ||
|
||
# git init | ||
# git add -A | ||
# git commit -m "deploy, $commit_info" | ||
# git push -f $push_addr HEAD:$push_branch | ||
|
||
# cd - | ||
# rm -rf $dist_path | ||
|
||
|
||
|
||
#!/usr/bin/env sh | ||
|
||
# 确保脚本抛出遇到的错误 | ||
|