diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0ad2e5b..cf98a52 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -46,7 +46,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/master' + # if: github.ref == 'refs/heads/master' steps: - name: Checkout uses: actions/checkout@v5 @@ -55,3 +55,5 @@ jobs: with: name: nuxt-output path: .output + - name: Rsync build artifact to server + run: rsync -avz --delete .output/ remilia@192.168.86.5:/home/remilia/Jinshenwebsite/front-build