From d4f4753cbe5a6210fc96d27a784074f869ad37fc Mon Sep 17 00:00:00 2001 From: LeeYuJoon Date: Mon, 11 Nov 2024 15:17:08 +0900 Subject: [PATCH] :rocket: deploy config update Related: --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b328495..11a6954 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,6 +42,12 @@ jobs: - name: Create SSH Key Directory run: mkdir -p ~/.ssh + - name: Create SSH Key File + run: | + echo "${{ secrets.EC2_SSH_KEY }}" > ~/.ssh/id_rsa + cat ~/.ssh/id_rsa # 디버그용: 키 파일 내용을 출력 + chmod 600 ~/.ssh/id_rsa + - name: Create SSH Key File run: | echo "${{ secrets.EC2_SSH_KEY }}" > ~/.ssh/id_rsa