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"