7 Commits

Author SHA1 Message Date
zihluwang d0165476ca Merge pull request 'ci: clean up old artifact before uploading to server' (#8) from develop into main
Build and Deploy / Build release archive (release) Failing after 47s
Build and Deploy / Upload to Gitea Release (release) Has been skipped
Build and Deploy / Deploy to onixbyte.cn (release) Has been skipped
Reviewed-on: #8
2026-06-17 00:17:55 +08:00
zihluwang 2852cb7e38 Merge pull request 'ci: fix release pipeline upload and deploy' (#7) from develop into main
Build and Deploy / Build release archive (release) Failing after 52s
Build and Deploy / Upload to Gitea Release (release) Has been skipped
Build and Deploy / Deploy to onixbyte.cn (release) Has been skipped
Reviewed-on: #7
2026-06-17 00:09:59 +08:00
zihluwang a4794e7273 Merge pull request 'ci: use scp/ssh instead of upload-artifact for Gitea Actions compatibility' (#6) from develop into main
Build and Deploy / Build release archive (release) Successful in 46s
Build and Deploy / Upload to Gitea Release (release) Failing after 5s
Build and Deploy / Deploy to onixbyte.cn (release) Failing after 10s
Reviewed-on: #6
2026-06-16 01:36:07 +08:00
siujamo 04a282dd5e Merge pull request 'ci: use node 24 in build workflow' (#4) from develop into main
Build and Deploy / Build release archive (release) Failing after 35s
Build and Deploy / Upload to Gitea Release (release) Has been skipped
Build and Deploy / Deploy to onixbyte.cn (release) Has been skipped
Reviewed-on: #4
2026-06-15 17:03:07 +08:00
siujamo 9145fabb2b Merge pull request 'v1.4.0' (#3) from develop into main
Build and Deploy / Build release archive (release) Failing after 16s
Build and Deploy / Upload to Gitea Release (release) Has been skipped
Build and Deploy / Deploy to onixbyte.cn (release) Has been skipped
Reviewed-on: #3
2026-06-15 16:47:20 +08:00
siujamo f98737906f Merge pull request 'v1.4.0' (#2) from develop into main
Reviewed-on: #2
2026-06-15 16:34:37 +08:00
siujamo 0f17374002 Merge pull request 'ci: migrate release workflow from GitHub Actions to Gitea Actions' (#1) from develop into main
Reviewed-on: #1
2026-06-15 09:34:13 +08:00
+10 -10
View File
@@ -30,6 +30,15 @@ jobs:
- name: Build release archive
run: pnpm build:tar
- name: Clean up previous build artifacts on server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ vars.DEPLOY_HOST }}
username: ${{ vars.DEPLOY_USER }}
port: ${{ vars.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
command: rm -f /tmp/dist.tar.gz /tmp/*.tar.gz
- name: Upload artifact to server
uses: appleboy/scp-action@v0.1.7
with:
@@ -38,16 +47,7 @@ jobs:
port: ${{ vars.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
source: "dist.tar.gz"
target: "/tmp/build-artifact/"
- name: Move artifact to /tmp
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ vars.DEPLOY_HOST }}
username: ${{ vars.DEPLOY_USER }}
port: ${{ vars.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
command: mv /tmp/build-artifact/dist.tar.gz /tmp/dist.tar.gz && rm -rf /tmp/build-artifact
target: "/tmp/"
upload-release-asset:
name: Upload to Gitea Release