build: publish desktop installer via Gitea releases
Some checks failed
Build and tests / test (push) Has been cancelled

This commit is contained in:
237899745
2026-07-27 15:20:09 +08:00
parent f760aa0ae9
commit a736d70d57
12 changed files with 405 additions and 5 deletions

View File

@@ -8,6 +8,17 @@
# ============================================
services:
desktop-release:
image: node:20-alpine
container_name: wanwanyun-desktop-release
restart: "no"
working_dir: /workspace/frontend
command: ["node", "scripts/sync-desktop-release.js"]
volumes:
- ./frontend:/workspace/frontend
networks:
- wanwanyun-network
# ============================================
# 后端服务
# ============================================
@@ -26,6 +37,9 @@ services:
# - ADMIN_PASSWORD=<至少8位且至少包含两类字符的强密码>
env_file:
- ./backend/.env
depends_on:
desktop-release:
condition: service_completed_successfully
volumes:
# 数据持久化
- ./backend/data:/app/data
@@ -64,7 +78,10 @@ services:
# - /etc/letsencrypt:/etc/letsencrypt:ro
# - ./certbot/www:/var/www/certbot:ro
depends_on:
- backend
desktop-release:
condition: service_completed_successfully
backend:
condition: service_healthy
networks:
- wanwanyun-network
healthcheck: