chore: add deploy_beta and rollback_to_main management scripts

This commit is contained in:
2026-10-07 14:57:19 +03:00
parent 6fb086a878
commit c89b0d6238
2 changed files with 30 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$REPO_DIR"
echo "=== Deploying beta-refactor branch to study.qpid.pro ==="
git checkout beta-refactor
echo "Restarting study-qpid-pro container..."
DOCKER_HOST=tcp://127.0.0.1:2375 docker restart study-qpid-pro
echo "=== Deployment complete! System is running on beta-refactor ==="