From 66b57eace728a8c4f913c30dfd6d9907a7814dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A7=80=ED=98=81?= Date: Tue, 3 Sep 2024 15:38:46 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20SSL=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 361ba73..8a12120 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,13 +27,13 @@ jobs: # SSL 적용 - name: Copy keystore.p12 from EC2 - uses: appleboy/scp-action@master + uses: appleboy/ssh-action@master with: host: ${{ secrets.EC2_HOST }} username: ${{ secrets.EC2_USER }} key: ${{ secrets.PRIVATE_KEY }} - source: /home/ubuntu/keystore.p12 - target: ./src/main/resources/keystore.p12 + script: | + scp -o StrictHostKeyChecking=no ${{ secrets.PRIVATE_KEY }} ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }}:/home/${{ secrets.EC2_USER }}/keystore.p12 ./src/main/resources/keystore.p12 # 도커 이미지 빌드용 환경 세팅 및 도커 이미지 빌드 - name: set up test DB and docker build