From 3c40656cfe24d76a64cdf63705d989a1e29486da Mon Sep 17 00:00:00 2001 From: miiiinju1 <111269144+miiiinju1@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:05:57 +0900 Subject: [PATCH] =?UTF-8?q?hotfix=20CICD=20ssh=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d56cc9e..e2a17d8 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -29,12 +29,10 @@ jobs: - name: SSH into AWS EC2 instance uses: appleboy/ssh-action@master with: - host: 10.0.128.33 + host: 3.35.14.92 username: ubuntu key: ${{ secrets.AWS_SSH_PRIVATE_KEY }} - proxy_host: 3.35.14.92 - proxy_username: ubuntu - # 아래 내용을 실행하여 Docker 이미지를 내려받고 실행 script: | - ./deploy-frontend.sh + ssh -o StrictHostKeyChecking=no ubuntu@10.0.128.33 'bash /home/ubuntu/deploy-frontend.sh' +