diff --git a/.gitea/workflows/build-dist.yaml b/.gitea/workflows/build-dist.yaml index 8cedcd8..fd8a295 100644 --- a/.gitea/workflows/build-dist.yaml +++ b/.gitea/workflows/build-dist.yaml @@ -23,10 +23,11 @@ jobs: bun install bun run build - - name: Commit dist - run: | - git config user.name "gitea-actions[bot]" - git config user.email "gitea-actions[bot]@git.z0x.ca" - git add -f dist - git commit -m "ci(dist): build dist" - git push -f origin build + - name: Deploy to VPS + uses: appleboy/scp-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.SSH_PRIVATE_KEY }} + source: "dist/*" + target: ${{ secrets.TARGET }}