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 e524961 commit eb9d4dbCopy full SHA for eb9d4db
deploy.sh
@@ -119,10 +119,14 @@ echo "::debug::Removed old local ZIP Archive."
119
120
# 4) Start the CodeDeploy
121
function getActiveDeployments() {
122
- aws deploy list-deployments \
+ if ! aws deploy list-deployments \
123
--application-name "$INPUT_CODEDEPLOY_NAME" \
124
--deployment-group-name "$INPUT_CODEDEPLOY_GROUP" \
125
- --include-only-statuses "Queued" "InProgress" | jq -r '.deployments';
+ --include-only-statuses "Queued" "InProgress" | jq -r '.deployments'; then
126
+ echo -e "${ORANGE}Deployment may still be executing."
127
+ echo -e "${RED}Failed monitoring deployment (ListDeployments API call failed)."
128
+ exit 1;
129
+ fi
130
}
131
132
function getSpecificDeployment() {
0 commit comments