#!/bin/sh

docker build -t vcs.otl-hga.net/nicole/seagull-game --target app .
docker push vcs.otl-hga.net/nicole/seagull-game
echo "settling dust ..."
sleep 2

aws ecs update-service \
    --cluster "arn:aws:ecs:us-west-2:850912941082:cluster/SeagullProd" \
    --service seagull-fargate-svc --force-new-deployment