From fa022786744f02727854745a486133b1f06eb06d Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 26 Sep 2024 19:44:41 -0700 Subject: [PATCH] Using personal scp-action thing --- .gitea/workflows/build-and-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 1d8a9f3..cbe6373 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -18,11 +18,11 @@ jobs: - name: Build website content run: hugo - name: Copy files using scp-action - uses: appleboy/scp-action@v0.1.3 + uses: tempersama/scp-action@v1.2 with: host: shockrah.xyz username: ${{ secrets.USER }} - source: "public/*" + source: "public/" target: /opt/nginx/test.shockrah.xyz key: ${{ secrets.PRIVATE_KEY }} - name: Copy using scp-action