Browse Source

调整build目录

master
lizw 4 years ago
parent
commit
35856cf7d0
  1. 8
      build.sh

8
build.sh

@ -133,8 +133,12 @@ deployPush() {
# 提交文件 # 提交文件
echo -e "$echoPrefix cd $pushPath $echoSuffix" echo -e "$echoPrefix cd $pushPath $echoSuffix"
cd "$pushPath" cd "$pushPath"
git config user.name bot if [ -n "$(git config user.name)" ]; then
git config user.name bot@git.com echo -e "$echoPrefix git config user.name 'bot' $echoSuffix"
git config user.name 'bot'
echo -e "$echoPrefix git config user.name 'bot@git.com' $echoSuffix"
git config user.name 'bot@git.com'
fi
echo -e "$echoPrefix git add -A $echoSuffix" echo -e "$echoPrefix git add -A $echoSuffix"
git add -A git add -A
if [ -n "$(git status -s)" ]; then if [ -n "$(git status -s)" ]; then

Loading…
Cancel
Save