From cce93bd520e7d253d7adff6b72e0848341b8badf Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 11 Sep 2024 21:28:58 -0700 Subject: [PATCH] Copy files with scp at end of workflow --- .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 a739418..bd9da0c 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -23,3 +23,5 @@ jobs: 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"