From 6c1e1747e040f6ae88caedace52b59771914dcbb Mon Sep 17 00:00:00 2001 From: bbbang105 <2018111366@dgu.ac.kr> Date: Wed, 11 Dec 2024 22:42:30 +0900 Subject: [PATCH] =?UTF-8?q?#139=20[chore]=20:=20GitHub=20Actions=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=EB=A5=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-cicd.yml | 8 ++++---- .github/workflows/test-cicd.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dev-cicd.yml b/.github/workflows/dev-cicd.yml index 561ded5..a8fb634 100644 --- a/.github/workflows/dev-cicd.yml +++ b/.github/workflows/dev-cicd.yml @@ -52,10 +52,10 @@ jobs: - name: ⏱️Docker hub에서 pull 후 deploy합니다. uses: appleboy/ssh-action@master with: - host: ${{ secrets.GCP_SERVER_HOST }} - username: ${{ secrets.GCP_SERVER_USERNAME }} - key: ${{ secrets.GCP_SSH_KEY }} + host: ${{ secrets.EC2_DEPLOY_SERVER_HOST }} + username: ${{ secrets.EC2_USERNAME }} + key: ${{ secrets.EC2_KEY }} script: | sudo chmod 777 ./deploy.sh ./deploy.sh - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f diff --git a/.github/workflows/test-cicd.yml b/.github/workflows/test-cicd.yml index 9990e24..b4d5ec9 100644 --- a/.github/workflows/test-cicd.yml +++ b/.github/workflows/test-cicd.yml @@ -52,10 +52,10 @@ jobs: - name: ⏱️Docker hub에서 pull 후 deploy합니다. uses: appleboy/ssh-action@master with: - host: ${{ secrets.GCP_TEST_SERVER_HOST }} - username: ${{ secrets.GCP_TEST_SERVER_USERNAME }} - key: ${{ secrets.GCP_SSH_KEY }} + host: ${{ secrets.EC2_TEST_SERVER_HOST }} + username: ${{ secrets.EC2_USERNAME }} + key: ${{ secrets.EC2_KEY }} script: | sudo chmod 777 ./deploy.sh ./deploy.sh - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f