botserver/deploy/deploy-ui.sh
Rodrigo Rodriguez (Pragmatismo) e8a400d86d
Some checks failed
BotServer CI / build (push) Failing after 12m5s
Remove Kubernetes deployment, add embed-ui deployment documentation
- 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
2026-02-06 09:26:44 -03:00

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