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