perf: preserve Docker npm cache - version bumps only touch version.txt, not package.json
continuous-integration/webhook Deploy concluído (VPS4)
continuous-integration/webhook Deploy concluído (VPS4)
This commit is contained in:
+2
-1
@@ -58,8 +58,9 @@ ssh -o BatchMode=yes -o StrictHostKeyChecking=no "${PROD_USER}@${PROD_VPS}" "
|
||||
"
|
||||
|
||||
# 5. Commit do bump de versão de volta ao Gitea (listener ignora → sem loop)
|
||||
# package.json não é incluído propositalmente: preserva o cache de npm install no Docker
|
||||
log "💾 git commit + push do bump de versão..."
|
||||
git add dental-server/version.txt dental-server/package.json dental-server/public/index.html
|
||||
git add dental-server/version.txt dental-server/public/index.html
|
||||
git commit -m "chore(deploy): bump version" || true
|
||||
git push origin main || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user