Files
dukang/deploy/deploy-prod.sh
T
2026-08-04 21:38:49 +08:00

7 lines
270 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# 发生产环境:分支默认 main → /opt/dukang80908094
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
echo "==> 即将发往 PRODUCTIONmain → /opt/dukang"
exec bash "$SCRIPT_DIR/deploy.sh" --env production "$@"