diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 0036187..1d8a9f3 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -17,6 +17,14 @@ jobs: uses: actions/checkout@v4 - name: Build website content run: hugo + - name: Copy files using scp-action + uses: appleboy/scp-action@v0.1.3 + with: + host: shockrah.xyz + username: ${{ secrets.USER }} + source: "public/*" + target: /opt/nginx/test.shockrah.xyz + key: ${{ secrets.PRIVATE_KEY }} - name: Copy using scp-action uses: srueda99/scp-action@v12 with: