fix: use printf for SSH key to preserve trailing newline
All checks were successful
Deploy Teams-Browser-Bot / deploy (push) Successful in 38s
All checks were successful
Deploy Teams-Browser-Bot / deploy (push) Successful in 38s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f5568e1058
commit
95bba9763f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,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