From e0f35e822c8bb0b075e60fc72832c3577eca97a5 Mon Sep 17 00:00:00 2001 From: SeoGeonhyuk <60954160+SeoGeonhyuk@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:51:16 +0900 Subject: [PATCH] =?UTF-8?q?bug:=20ci-cd.yml=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 2467eb20..8ebf6d14 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -45,6 +45,7 @@ jobs: - name: SSH login and deploy run: | - echo ${{ secrets.NCP_DEV_SSH }} > dev_login.pem + echo "${{ secrets.NCP_DEV_SSH }}" > dev_login.pem + chmod 600 dev_login.pem ssh -i dev_login.pem ncloud@${{ secrets.NCP_DEV_INSTANCE }} -p ${{ secrets.NCP_DEV_INSTANCE_PORT }} ./docker.sh