perf: preserve Docker npm cache - version bumps only touch version.txt, not package.json
continuous-integration/webhook Deploy concluído (VPS4)

This commit is contained in:
VPS 4 Deploy Agent
2026-05-30 16:00:18 +02:00
parent 653654cad4
commit 7f9381169f
3 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -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