Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Prints error message upon failed deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
xander-hirsch committed Oct 10, 2021
1 parent 24ad6d4 commit ed466e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ NAME='ca-local-covid-19-dashboard'
docker buildx build --platform linux/amd64 --tag $NAME . \
&& docker tag $NAME "registry.heroku.com/$NAME/web" \
&& docker push "registry.heroku.com/$NAME/web" \
&& heroku container:release web --app $NAME
&& heroku container:release web --app $NAME \
|| echo "-------- Something went wrong! --------"
docker image prune

0 comments on commit ed466e5

Please sign in to comment.