We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae875f commit e73d7d1Copy full SHA for e73d7d1
bashrc/development.sh
@@ -34,7 +34,14 @@ _git_push_and_approve() {
34
shift
35
fi
36
37
- git push $push_flags && rack-gateway deploy-approval wait --racks "$racks" --approve
+ git push $push_flags || return 1
38
+
39
+ # Wait for CI to pass before waiting for deploy approval
40
+ if [ -f scripts/wait_for_ci_build ]; then
41
+ scripts/wait_for_ci_build || return 1
42
+ fi
43
44
+ rack-gateway deploy-approval wait --racks "$racks" --approve
45
}
46
47
gpss() { _git_push_and_approve "staging" "$@"; }
0 commit comments