Skip to content

Commit

Permalink
[semver:patch] Add exit code 1 on failed deployment (#113)
Browse files Browse the repository at this point in the history
Currently, code deploy failures do not fail the job.  This adds a exit code so that the job fails properly and users are notified when a deployment isn't successful
  • Loading branch information
TimOrme authored Oct 2, 2020
1 parent 53dd4ab commit 0f7fce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/orb.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ commands:
echo "Deployment succeeded."
else
echo "Deployment failed."
exit 1
fi
fi
echo "export CCI_ORB_AWS_ECS_DEPLOYED_REVISION='${DEPLOYED_REVISION}'" >> $BASH_ENV
Expand Down

0 comments on commit 0f7fce6

Please sign in to comment.