feat(deploy): compose up 后自动 promotion-import(YH_IMPORT_PROMOTION_SITE_ID + Docker go run)
Made-with: Cursor
This commit is contained in:
@@ -251,6 +251,8 @@ fi
|
||||
compose_cmd down 2>/dev/null || true
|
||||
compose_cmd up -d --force-recreate
|
||||
|
||||
bash "$ROOT/scripts/run-promotion-import-on-deploy.sh" "$ROOT"
|
||||
|
||||
if [ -f "$ROOT/nginx/$NGINX_CONF_NAME" ]; then
|
||||
run_sudo cp -f "$ROOT/nginx/$NGINX_CONF_NAME" /etc/nginx/conf.d/ 2>/dev/null || true
|
||||
if run_sudo nginx -t 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user