Skip to content

Commit

Permalink
The SSH key is multiple lines...
Browse files Browse the repository at this point in the history
  • Loading branch information
9p4 committed Dec 21, 2024
1 parent 6562a56 commit 581f40f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
run: |
umask 077
mkdir -p ~/.ssh
echo ${{ secrets.SSH_PRIVATE_KEY }} > ~/.ssh/id_ed25519
cat << EOF > ~/.ssh/id_ed25519
${{ secrets.SSH_PRIVATE_KEY }}
EOF
- name: Deploy with SSH
run: |
Expand Down

0 comments on commit 581f40f

Please sign in to comment.