From db1c4c6c4ffa3e4f029db680a4f662334d34309d Mon Sep 17 00:00:00 2001 From: erenfn <81182796+erenfn@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:58:56 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 68cf0cdc..0b345412 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: