Browse Source

fix(deploy): force checkout package-lock before pull to avoid merge conflicts

unknown 19 hours ago
parent
commit
fe6346bbfc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server_update.sh

+ 1 - 0
server_update.sh

@@ -7,6 +7,7 @@ cd $PROJECT_DIR
 
 # 1. Забираем код
 echo "git pull..."
+git checkout package-lock.json # Force clean lockfile to avoid conflicts
 git pull origin master
 
 # 2. Собираем фронтенд