diff --git a/.github/workflows/aws_CD.yml b/.github/workflows/aws_CD.yml index bdd7621..a1b4bdf 100644 --- a/.github/workflows/aws_CD.yml +++ b/.github/workflows/aws_CD.yml @@ -2,7 +2,7 @@ name: Deploy to AWS EC2 on: push: - branches: [ main ] + branches: [ develop ] permissions: id-token: write diff --git a/scripts/deploy/runDocker.sh b/scripts/deploy/runDocker.sh index bcdcb09..5ba0fa0 100644 --- a/scripts/deploy/runDocker.sh +++ b/scripts/deploy/runDocker.sh @@ -3,8 +3,8 @@ if [ "$DEPLOYMENT_GROUP_NAME" == "dev" ] then # Remove any anonymous volumes attached to containers - docker-compose -f ~/deploy/docker-compose.yml rm -v + docker-compose -f ~/build/docker-compose.yml rm -v # build images and run containers echo "[Deploy] : Running new Application" - docker-compose -f ~/deploy/docker-compose.yml up --detach --renew-anon-volumes + docker-compose -f ~/build/docker-compose.yml up --detach --renew-anon-volumes fi