diff --git a/scripts/prod/UpdateProd.sh b/scripts/prod/UpdateProd.sh index 4294b019..43e314e9 100644 --- a/scripts/prod/UpdateProd.sh +++ b/scripts/prod/UpdateProd.sh @@ -1,8 +1,8 @@ COMPOSE_FILE="docker-compose-prod.yml" BACKUP_SCRIPT="./scripts/prod/CreateBackup.sh" -git reset --hard -git pull +git fetch --all +git reset --hard origin/main /bin/bash "${BACKUP_SCRIPT}"