feat(workflow): deploy directly to server

This commit is contained in:
z0x 2025-01-25 15:58:06 -05:00
parent 7ccc16e400
commit 3816001956

View file

@ -23,10 +23,13 @@ jobs:
bun install bun install
bun run build bun run build
- name: Commit dist - name: Deploy to server
run: | uses: appleboy/scp-action@master
git config user.name "gitea-actions[bot]" with:
git config user.email "gitea-actions[bot]@git.z0x.ca" host: ${{ secrets.HOST }}
git add -f dist username: ${{ secrets.USERNAME }}
git commit -m "ci(dist): build dist" key: ${{ secrets.SSH_PRIVATE_KEY }}
git push source: "dist/*"
target: ${{ secrets.TARGET }}
strip_components: 1
overwrite: true