Commit9ffa60eunknown_key
fix(deploy): scripts/deploy.sh tracks main not stale dead branch
fix(deploy): scripts/deploy.sh tracks main not stale dead branch
Was hardcoded to claude/ship-fixes-and-tests-Jvz1c which has been dead
for weeks. Anyone who ran this script pulled stale code. Switched to
${BRANCH:-main} so it tracks main by default but can be overridden.
Also added a pointer to scripts/deploy-crontech.sh which is the actual
production script for the bare-metal Crontech box (gluecron.com).1 file changed+5−19ffa60eeb0aba8822c859c12d585e2ceb4983601
1 changed file+5−1
Modifiedscripts/deploy.sh+5−1View fileUnifiedSplit
@@ -9,7 +9,11 @@ set -euo pipefail
99APP_NAME="gluecron"
1010APP_DIR="/opt/gluecron"
1111REPO_URL="https://github.com/ccantynz-alt/Gluecron.com.git"
12BRANCH="claude/ship-fixes-and-tests-Jvz1c"
12BRANCH="${BRANCH:-main}"
13
14# NOTE: For the production Crontech bare-metal box (45.76.171.37 → gluecron.com),
15# prefer scripts/deploy-crontech.sh — it knows about Caddy, /etc/gluecron.env, and
16# the systemd unit. This deploy.sh is the generic single-server bootstrapper.
1317
1418echo "=========================================="
1519echo " Deploying $APP_NAME"
1620