From 5040454c4f913fdcc92ae73e0f3e04b66a702f71 Mon Sep 17 00:00:00 2001 From: Gabriel Alves Date: Fri, 20 Sep 2024 19:28:10 -0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a890beb..89ddd47 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,6 +27,14 @@ jobs: steps: - name: Repo Checkout uses: actions/checkout@v2 + + - name: Setup SSH + run: | + eval "$(ssh-agent -s)" + echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > private_key + chmod 600 private_key + ssh-add private_key + - name: Hostinger Deployment uses: easingthemes/ssh-deploy@main with: