Unverified Commit 5245a55a authored by Douglas Duteil's avatar Douglas Duteil
Browse files

ci(gitlab): change url on production build

parent 89875dba
......@@ -23,7 +23,11 @@ if [[ -n "${COMMIT_TAG}" ]]; then
export BRANCH_HASH=$( printf "${COMMIT_TAG}" | sed "s/\./-/g" );
fi
export FRONTEND_HOST="${BRANCH_HASH}.work-in-france.${ENVIRONMENT}.social.gouv.fr";
if [[ -n "${PRODUCTION}" ]]; then
export FRONTEND_HOST="work-in-france.${ENVIRONMENT}.social.gouv.fr";
else
export FRONTEND_HOST="${BRANCH_HASH}.work-in-france.${ENVIRONMENT}.social.gouv.fr";
fi
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment