From 5f035fac720814e6bc4e7b931a011da6304e5c04 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 11 Sep 2024 22:14:27 -0700 Subject: [PATCH] simpler workflow --- .gitea/workflows/build-and-deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 0e4b23c..91d8902 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -18,10 +18,11 @@ jobs: - name: Build website content run: hugo - name: Copy using scp-action - uses: appleboy/scp-action@v0.1.3 + uses: srueda99/scp-action@v12 with: host: shockrah.xyz - username: html-deployer + port: 22 + username: ${{ secrets.USER }} key: ${{ secrets.PRIVATE_KEY }} source: public/ target: /opt/nginx/test.shockrah.xyz