fix: 分离日常发布与首次初始化(09-09-existing-deploy-seed-separation)
ci-e2e / e2e (push) Canceled after 0s
ci-minimal / check-minimal (push) Canceled after 0s

这个提交包含在:
2026-09-09 12:47:30 +08:00
父节点 81102c26cf
当前提交 b87cc55aca
共修改 17 个文件,包含 662 行新增和 11 行删除
+3 -5
查看文件
@@ -104,13 +104,11 @@ services:
- ./.env
environment:
NODE_ENV: production
DEPLOY_DATA_MODE: ${DEPLOY_DATA_MODE:-}
BUILD_SHA: ${BUILD_SHA:?set BUILD_SHA to the approved full commit}
volumes:
- ${STORAGE_HOST_DIR:-./data/storage}:${STORAGE_DIR}
entrypoint: ["sh", "-c"]
command: >
cd /app/server
&& npm run prisma:migrate:deploy
&& npm run seed:config
&& npm run seed:trialrun
command:
- cd /app/server && npm run deploy:init
restart: "no"