2 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: https://git.onixbyte.com/onixbyte/delta-force-guide-web/pulls/8
2026-06-17 00:17:55 +08:00
zihluwang f1393088a4 ci: clean up old artifact before uploading to server 2026-06-17 00:16:23 +08:00
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
username: ${{ vars.DEPLOY_USER }}
port: ${{ vars.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
command: rm -rf /tmp/dist.tar.gz /tmp/dist.tar.gz/
command: rm -f /tmp/dist.tar.gz /tmp/*.tar.gz
- name: Upload artifact to server
uses: appleboy/scp-action@v0.1.7