From f009b7a37762b9a9f2875222bbacfb94a508b174 Mon Sep 17 00:00:00 2001 From: z0x Date: Sat, 25 Jan 2025 15:42:32 -0500 Subject: [PATCH] fix(actions) --- .gitea/workflows/build-dist.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 }}