From 1774da34699e5099ce01a4e47c2eab821e219f9d Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 29 Jun 2021 13:51:59 +0100 Subject: [PATCH] Revert "Use SSH-Agent for deployment" This reverts commit 0680c2cf3e41f8dc698cecacbff52a3a381739be. --- .github/workflows/deploy.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ebb3bb7..f2d2183 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -9,15 +9,12 @@ jobs: environment: production runs-on: ubuntu-latest steps: - - name: Setup ssh-agent - uses: webfactory/ssh-agent@v0.5.3 - with: - ssh-private-key: ${{ secrets.DEPLOYMENT_SSH_KEY }} - name: Deploy to target system uses: appleboy/ssh-action@master with: host: ${{ secrets.TARGET_HOST }} username: ${{ secrets.DEPLOYMENT_USER }} + key: ${{ secrets.DEPLOYMENT_SSH_KEY }} port: 22 script: | export PATH=~/bin:~/go/bin:$PATH