From 5bec9ff93149c42eb9f53b74531a269cc953abaa Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 28 Jan 2015 21:22:47 +0100 Subject: post-receive.cyrax-build: Use new URL for branches. --- post-receive.cyrax-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post-receive.cyrax-build b/post-receive.cyrax-build index 8a2ebef..48cc6a5 100755 --- a/post-receive.cyrax-build +++ b/post-receive.cyrax-build @@ -11,7 +11,7 @@ while read old new ref ; do RELATIVE="" else TARGET_DIR="${WEB_BASE}/branches.spline.de/htdocs/" - URL="http://branches.spline.de/${BRANCH}/" + URL="http://spline.de/_branch/${BRANCH}/" RELATIVE="${BRANCH}" if [ "${new}" = "0000000000000000000000000000000000000000" ]; then @@ -34,7 +34,7 @@ while read old new ref ; do mkdir -p "${TARGET_DIR}/${RELATIVE}/" rm -rf "${TARGET_DIR}/${RELATIVE}/" - mv "${TARGET_TMP_DIR}/${RELATIVE}/" "${TARGET_DIR}/${RELATIVE}/" + mv "${TARGET_TMP_DIR}/_branch/${RELATIVE}/" "${TARGET_DIR}/${RELATIVE}/" rm -rf "${TMP_DIR}" rm -rf "${TARGET_TMP_DIR}" -- cgit v1.2.3-1-g7c22