From 88acf5221ad89eab14857d6156e041ff7160504a Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 5 Sep 2024 21:19:08 -0700 Subject: [PATCH] Forgot private key in with config --- .gitea/workflows/build-and-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index b601d01..461dbdd 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -19,5 +19,7 @@ jobs: run: hugo - name: Setup SSH to copy files up to remote webserver uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.PRIVATE_KEY }} - name: SCP Files to resume web server run: "scp -o UserKnownHostsFile=/dev/null -r public/ $ssh_target:$remote_path"