From 33f5acf3317bb1292bd8734f78ee8e58437e4fe9 Mon Sep 17 00:00:00 2001 From: VPS 4 Deploy Agent Date: Sat, 30 May 2026 17:10:40 +0200 Subject: [PATCH] fix: include version.txt and index.html in rsync to keep VPS1 in sync --- deploy-prod.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy-prod.sh b/deploy-prod.sh index 4e9304f..983d82b 100755 --- a/deploy-prod.sh +++ b/deploy-prod.sh @@ -44,10 +44,12 @@ IMAGE_NAME="rxscoreodontocom-app:latest" IMAGE_TAR="/tmp/rxscoreodontocom-app.tar.gz" docker save "$IMAGE_NAME" | gzip > "$IMAGE_TAR" -# 5. Enviar docker-compose.yml + imagem para VPS1 -log "🚚 rsync docker-compose + imagem → VPS1..." +# 5. Enviar docker-compose.yml + imagem + versão para VPS1 +log "🚚 rsync docker-compose + imagem + versão → VPS1..." rsync -avz \ "$PROD_PATH/docker-compose.yml" \ + "$PROD_PATH/dental-server/version.txt" \ + "$PROD_PATH/dental-server/public/index.html" \ "$IMAGE_TAR" \ "${PROD_USER}@${PROD_VPS}:${PROD_PATH}/"