fix: include version.txt and index.html in rsync to keep VPS1 in sync
continuous-integration/webhook Deploy concluído (VPS4)
continuous-integration/webhook Deploy concluído (VPS4)
This commit is contained in:
+4
-2
@@ -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}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user