mirror of
https://github.com/FlipsideCrypto/analytics-workflow-templates.git
synced 2026-02-06 11:17:52 +00:00
Add exit on polling timeout to fail workflow when job doesn't complete
This commit is contained in:
parent
92d4eaaa33
commit
ac3c9cf706
1
.github/workflows/refresh_dds.yml
vendored
1
.github/workflows/refresh_dds.yml
vendored
@ -156,6 +156,7 @@ jobs:
|
||||
if [ $ATTEMPT -eq $MAX_ATTEMPTS ]; then
|
||||
echo "⚠️ Job polling timed out after $((MAX_ATTEMPTS * POLL_INTERVAL)) seconds"
|
||||
echo "💡 Job is still running. Check status manually with job_id: $JOB_ID"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user