ci(gitea): allow dirty-node safe mode before hard phase6 gate
This commit is contained in:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user