From 899fe3b9c5df4106e91de17bd9e413f42cbae015 Mon Sep 17 00:00:00 2001 From: wjdtkdgns Date: Mon, 20 Nov 2023 11:39:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20docker=20=EB=AA=85=EB=A0=B9=EC=96=B4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20#3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 791bcf29..c3086142 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -2,7 +2,7 @@ name: Deploy on: push: - branches: ['develop'] + branches: ['develop', 'feature/issue-3/deploy'] env: ACTIVE_PROFILE: "prod" @@ -87,7 +87,7 @@ jobs: sudo docker rm $(sudo docker ps -a -q) sudo docker rmi $(sudo docker images -q) sudo docker pull $DOCKERHUB_USERNAME/$DOCKERHUB_IMAGE_NAME:${{env.IMAGE_TAG}} - sudo docker run -d --restart unless-stopped --hostname server --env-file ~/susu/.env -e TZ=Asia/Seoul --expose 8080 --log-driver=awslogs --log-opt awslogs-group=susu --log-opt awslogs-region=ap-northeast-2 --log-opt awslogs-stream=server $DOCKERHUB_USERNAME/$DOCKERHUB_IMAGE_NAME:${{env.IMAGE_TAG}} + sudo docker run -d --restart unless-stopped --name server --hostname server --env-file ~/susu/.env -e TZ=Asia/Seoul --expose 8080 --log-driver=awslogs --log-opt awslogs-group=susu --log-opt awslogs-region=ap-northeast-2 --log-opt awslogs-stream=server $DOCKERHUB_USERNAME/$DOCKERHUB_IMAGE_NAME:${{env.IMAGE_TAG}} sudo docker system prune --all -f