diff --git a/bin/build_detector.sh b/bin/build_detector.sh
index 97cbc96021795f0043c98dd4a9a5da8153477bea..5c15d652206b0fa3b909a091122d9b570a92e904 100755
--- a/bin/build_detector.sh
+++ b/bin/build_detector.sh
@@ -34,14 +34,7 @@ if [ -d "${DETECTOR}" ]; then
   mv "${DETECTOR}" "$(mktemp)-${DETECTOR}"
 fi
 echo "Fetching ${DETECTOR}"
-if [ -n "${DETECTOR_DEPLOY_TOKEN_USERNAME:-}" -a -n "${DETECTOR_DEPLOY_TOKEN_PASSWORD:-}" ]; then
-  DEPLOY_TOKEN="${DETECTOR_DEPLOY_TOKEN_USERNAME}:${DETECTOR_DEPLOY_TOKEN_PASSWORD}@"
-  echo "Deploy token for ${DETECTOR_DEPLOY_TOKEN_USERNAME} is masked in the next line."
-else
-  DEPLOY_TOKEN=""
-fi
-echo "git clone -b ${DETECTOR_VERSION} --depth 1 ${DETECTOR_REPOSITORYURL:-https://eicweb.phy.anl.gov/EIC/detectors/${DETECTOR}.git} ${DETECTOR}"
-git clone -b ${DETECTOR_VERSION} --depth 1 ${DETECTOR_REPOSITORYURL:-https://${DEPLOY_TOKEN}eicweb.phy.anl.gov/EIC/detectors/${DETECTOR}.git} ${DETECTOR}
+git clone -b ${DETECTOR_VERSION} --depth 1 ${DETECTOR_REPOSITORYURL:-https://github.com/eic/${DETECTOR}.git} ${DETECTOR}
 if [ -f "${DETECTOR}/requirements.txt" ] ; then
   python -m pip install -r ${DETECTOR}/requirements.txt
 fi