ci(gitea): allow dirty-node safe mode before hard phase6 gate

This commit is contained in:
Apple
2026-03-05 10:41:43 -08:00
parent 5b3a7e3998
commit fb268ec0e2
2 changed files with 8 additions and 3 deletions

View File

@@ -100,9 +100,13 @@ jobs:
"${SSH_USER}@${SSH_HOST}" \
"set -euo pipefail; \
cd /opt/microdao-daarion; \
git fetch origin; \
git checkout '${DEPLOY_REF:-main}'; \
git pull --ff-only origin '${DEPLOY_REF:-main}'; \
if [ -n \"\$(git status --porcelain)\" ]; then \
echo 'WARN: dirty git tree on NODA1; skip checkout/pull and continue with gate'; \
else \
git fetch origin; \
git checkout '${DEPLOY_REF:-main}'; \
git pull --ff-only origin '${DEPLOY_REF:-main}'; \
fi; \
if [ '${REDEPLOY_RUNTIME:-false}' = 'true' ]; then \
docker compose -f docker-compose.node1.yml up -d --no-deps --build --force-recreate gateway experience-learner; \
fi; \