feat(deploy): compose up 后自动 promotion-import(YH_IMPORT_PROMOTION_SITE_ID + Docker go run)
Made-with: Cursor
This commit is contained in:
@@ -350,6 +350,9 @@ fi
|
||||
compose_cmd down 2>/dev/null || true
|
||||
compose_cmd up -d --force-recreate
|
||||
|
||||
# 可选:web/promotion/视频发布 -> data/uploads + MongoDB(须 server/.env 中 YH_IMPORT_PROMOTION_SITE_ID)
|
||||
bash "$ROOT/scripts/run-promotion-import-on-deploy.sh" "$ROOT"
|
||||
|
||||
echo ""
|
||||
echo "[3/3] 证书与宿主机 Nginx(可选)..."
|
||||
NGINX_CONF_NAME="${NGINX_DOMAIN}.conf"
|
||||
|
||||
Reference in New Issue
Block a user