Explorar o código

fix update code

lushuncheng %!s(int64=6) %!d(string=hai) anos
pai
achega
8c0e6498b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      shell/container-code-update.sh

+ 1 - 1
shell/container-code-update.sh

@@ -6,7 +6,7 @@ cd /code && git checkout -f origin/$PROGINN_BRANCH
 cd /boss && git pull || git reset --hard FETCH_HEAD
 cd /boss && git checkout -f origin/$ROOTER_BRANCH
 cd /proginn-frontend && git pull || git reset --hard FETCH_HEAD
-cd /proginn-frontend && git checkout -f origin/checkout $PROGINN_FRONTEND_BRANCH
+cd /proginn-frontend && git checkout -f origin/$PROGINN_FRONTEND_BRANCH
 cd /proginn-frontend && current_git_branch_latest_id=`git rev-parse HEAD`
 current_git_branch_last_id=`cat /var/www/.proginn-frontend-commit-id`
 if [[ "$current_git_branch_latest_id" != "$current_git_branch_last_id" ]]; then