From d95f95141e04ada114f34c0dd862c30a74edaf3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=9D=AC=EC=9B=90?= Date: Sat, 20 Jun 2026 04:03:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SSH=20=ED=82=A4=20base64=20=EB=94=94?= =?UTF-8?q?=EC=BD=94=EB=94=A9=20=EC=8A=A4=ED=85=9D=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9ef5d13..9483c64 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,13 +24,18 @@ jobs: - name: Build run: npm run build + - name: Decode SSH key + run: | + echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + - name: Deploy via SCP uses: appleboy/scp-action@v0.1.7 with: host: ${{ secrets.SSH_HOST }} port: ${{ secrets.SSH_PORT }} username: root - key: ${{ secrets.SSH_PRIVATE_KEY }} + key_path: ~/.ssh/id_ed25519 source: dist/* target: /var/www/proto.bodalab.diffthink.kr/ strip_components: 1