chore: add deploy_beta and rollback_to_main management scripts
This commit is contained in:
1 parent
6fb086a878
commit
c89b0d6238
2 files changed
+30
No files matched your search
Executable
+13
@@ -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 ==="
|
||||
Reference in new issue
Block a user