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