chore: initial commit of ai site platform
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
11
deploy-menu.sh
Normal file
11
deploy-menu.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# 跳转到同级 ops 多项目菜单
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
MENU="${OPS_MENU:-$ROOT/../ops/deploy.sh}"
|
||||
if [ ! -f "$MENU" ]; then
|
||||
echo "找不到菜单: $MENU" >&2
|
||||
echo "请把 ops/ 放在与本项目同级,或设置 OPS_MENU=/path/to/ops/deploy.sh" >&2
|
||||
exit 1
|
||||
fi
|
||||
exec bash "$MENU" "$@"
|
||||
Reference in New Issue
Block a user