We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668cbe8 commit f73b88fCopy full SHA for f73b88f
gh/db_migration_wait.sh
@@ -31,4 +31,10 @@ RUNNING_DB_UPGRADE_WORKFLOW_ID=$(gh run list \
31
# sleep 5
32
# fi
33
# done
34
-gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --repo code-kern-ai/refinery-gateway
+if [ -z $RUNNING_DB_UPGRADE_WORKFLOW_ID ]; then
35
+ echo "::notice::No running db upgrade workflow found"
36
+ exit 0
37
+fi
38
+
39
+gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --repo code-kern-ai/refinery-gateway
40
+echo "::notice::Running db upgrade workflow completed"
0 commit comments