Some checks failed
BotServer CI / build (push) Failing after 12m5s
- Removed Kubernetes deployment files (focus on embed-ui feature instead) - Added deploy-ui.sh script for manual UI file deployment - Added deploy/README.md with comprehensive deployment guide - Updated README.md with embed-ui feature explanation - Simplified deployment: embed-ui feature creates self-contained binary
16 lines
No EOL
348 B
Bash
16 lines
No EOL
348 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
DEPLOY_DIR="${1:-/opt/gbo}"
|
|
SRC_DIR="$(dirname "$0")/../.."
|
|
|
|
echo "Deploying UI files to $DEPLOY_DIR"
|
|
|
|
mkdir -p "$DEPLOY_DIR/bin/ui/suite"
|
|
|
|
cp -r "$SRC_DIR/botui/ui/suite/"* "$DEPLOY_DIR/bin/ui/suite/"
|
|
|
|
echo "UI files deployed successfully"
|
|
echo "Location: $DEPLOY_DIR/bin/ui/suite"
|
|
ls -la "$DEPLOY_DIR/bin/ui/suite" | head -20 |