fix: SSH 키 base64 디코딩 방식으로 변경
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a088ca9e1f
commit
c451d47568
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
SSH_PORT: ${{ secrets.SSH_PORT }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_KEY" > ~/.ssh/deploy_key
|
||||
echo "$SSH_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||
chmod 600 ~/.ssh/deploy_key
|
||||
ssh-keyscan -p "$SSH_PORT" -H "$SSH_HOST" >> ~/.ssh/known_hosts
|
||||
scp -P "$SSH_PORT" -i ~/.ssh/deploy_key -o IdentitiesOnly=yes -r dist/* root@"$SSH_HOST":/var/www/proto.bodalab.diffthink.kr/
|
||||
|
|
|
|||
Loading…
Reference in New Issue