Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erenfn authored Sep 10, 2024
1 parent 2cbff5c commit db1c4c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ jobs:
- name: Set up SSH
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
eval $(ssh-agent -s)
echo "$SSH_PASSPHRASE" | ssh-add ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa
- name: Deploy to DigitalOcean Droplet
env:
Expand Down

0 comments on commit db1c4c6

Please sign in to comment.