fix: use printf for SSH key to preserve trailing newline
All checks were successful
Deploy LLM Service / deploy (push) Successful in 23s
All checks were successful
Deploy LLM Service / deploy (push) Successful in 23s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3864bce3d5
commit
5b66aaea0f
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/deploy_key
|
||||
printf '%s\n' "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/deploy_key
|
||||
chmod 600 ~/.ssh/deploy_key
|
||||
ssh-keyscan -H ${{ env.SERVER_HOST }} >> ~/.ssh/known_hosts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue