ccf преди 4 години
родител
ревизия
737e5331ec
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      shell/container-code-update.sh

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

@@ -17,6 +17,6 @@ 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
     echo "$current_git_branch_latest_id" > /var/www/.proginn-frontend-commit-id
-    cd /proginn-frontend && rm -rf node_modules && npx yarn --registry=https://registry.npm.taobao.org install
+   # cd /proginn-frontend && rm -rf node_modules && npx yarn --registry=https://registry.npm.taobao.org install
     cd /proginn-frontend && pm2 reload ecosystem.config.yml
 fi