From 6a1112b2a4126e52e42c5882e08b947d9adf0166 Mon Sep 17 00:00:00 2001 From: sunwoong Date: Tue, 16 Apr 2024 21:12:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20dev=20&=20prod=20workflow=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd-dev.yml | 6 +++--- .github/workflows/cicd-prod.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd-dev.yml b/.github/workflows/cicd-dev.yml index 9fa58f5..dd84dc8 100644 --- a/.github/workflows/cicd-dev.yml +++ b/.github/workflows/cicd-dev.yml @@ -43,7 +43,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} port: ${{ secrets.EC2_PORT }} source: "./scripts/deploy.sh" target: "/home/ubuntu/" @@ -53,7 +53,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} port: ${{ secrets.EC2_PORT }} source: "./docker-compose.yml" target: "/home/ubuntu/" @@ -71,7 +71,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_DEV_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_DEV_KEY }} script: | sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }} chmod 777 ./scripts/deploy.sh diff --git a/.github/workflows/cicd-prod.yml b/.github/workflows/cicd-prod.yml index 248326b..63e46c9 100644 --- a/.github/workflows/cicd-prod.yml +++ b/.github/workflows/cicd-prod.yml @@ -43,7 +43,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} port: ${{ secrets.EC2_PORT }} source: "./scripts/deploy.sh" target: "/home/ubuntu/" @@ -53,7 +53,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} port: ${{ secrets.EC2_PORT }} source: "./docker-compose.yml" target: "/home/ubuntu/" @@ -71,7 +71,7 @@ jobs: with: username: ubuntu host: ${{ secrets.EC2_PROD_HOST }} - key: ${{ secrets.EC2_KEY }} + key: ${{ secrets.EC2_PROD_KEY }} script: | sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }} chmod 777 ./scripts/deploy.sh