chore(deploy): add same-host staging stack next to production
dev deploys to /opt/dukang-staging (819x, *-test domains); main deploys to production. Staging uses full Mock with shared WeChat app ids. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# 发生产环境:分支默认 main → /opt/dukang(8090–8094)
|
||||
set -euo pipefail
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
echo "==> 即将发往 PRODUCTION(main → /opt/dukang)"
|
||||
exec bash "$SCRIPT_DIR/deploy.sh" --env production "$@"
|
||||
Reference in New Issue
Block a user