14 lines
377 B
Bash
Executable File
14 lines
377 B
Bash
Executable File
#!/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 ==="
|