From 32d2f47ff90b6c4b42760d01a15ae9198745ab82 Mon Sep 17 00:00:00 2001 From: sunghwki Date: Tue, 12 Nov 2024 22:51:37 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20chore:=20deploy.yml=20backend=20?= =?UTF-8?q?=EB=B6=80=ED=84=B0=20=EB=A7=8C=EB=93=A4=EA=B2=8C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6be4883e..6b3b86df 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,16 +48,16 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and push frontend Docker image - run: | - docker build -t ${{ secrets.DOCKER_USERNAME }}/frontend:latest -f packages/frontend/Dockerfile . - docker push ${{ secrets.DOCKER_USERNAME }}/frontend:latest - - name: Build and push backend Docker image run: | docker build -t ${{ secrets.DOCKER_USERNAME }}/backend:latest -f packages/backend/Dockerfile . docker push ${{ secrets.DOCKER_USERNAME }}/backend:latest + - name: Build and push frontend Docker image + run: | + docker build -t ${{ secrets.DOCKER_USERNAME }}/frontend:latest -f packages/frontend/Dockerfile . + docker push ${{ secrets.DOCKER_USERNAME }}/frontend:latest + - name: Deploy to server uses: appleboy/ssh-action@v1.1.0 with: