Skip to content

Commit

Permalink
Merge pull request #19 from wafflestudio/aws-CD
Browse files Browse the repository at this point in the history
Apply CD
  • Loading branch information
yeonsumia authored Mar 4, 2022
2 parents e1b1193 + cb79eb4 commit 3d12d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to AWS EC2

on:
push:
branches: [ main ]
branches: [ develop ]

permissions:
id-token: write
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy/runDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3d12d22

Please sign in to comment.