fix: SSH key 방식 raw PEM으로 변경

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
이희원 2026-06-20 04:12:17 +09:00
parent 8d56d7c421
commit 813c2c4865
1 changed files with 1 additions and 7 deletions

View File

@ -24,19 +24,13 @@ jobs:
- name: Build
run: npm run build
- name: Decode SSH key
run: |
mkdir -p ~/.ssh
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_path: ~/.ssh/id_ed25519
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: dist/*
target: /var/www/proto.bodalab.diffthink.kr/
strip_components: 1