Commit 4d0e4c33 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud

ci: escape colons in string with single quotes

parent 22310c87
......@@ -423,7 +423,7 @@ deploy_review_server:
- make -C browser icons
- cp ./docker/vidjil-client/conf/conf.js ./browser/js/conf.js
- sed -i -r "s/localhost/${CI_BUILD_REF_SLUG}" ./browser/js/conf.js
- sed -i "s/\"server_id\" : \"\"/\"server_id\" : \"${CI_BUILD_REF_SLUG}\"/" ./browser/js/conf.js
- sed -i "s/\"server_id\" ':' \"\"/\"server_id\" ':' \"${CI_BUILD_REF_SLUG}\"/" ./browser/js/conf.js
- sed -r 's/^.*FILE_SOURCE.*$/FILE_SOURCE="\/usr\/share\/vidjil\/demo"/' ./docker/vidjil-server/conf/ > ./server/web2py/applications/vidjil/modules/
- sed -i -e "/EMAIL_SUBJECT_START/c EMAIL_SUBJECT_START='[Vidjil/CI][$CI_COMMIT_REF_NAME]'" -e '/FROM_EMAIL/c FROM_EMAIL=""' ./server/web2py/applications/vidjil/modules/
- mv docker docker_${CI_BUILD_REF_SLUG}
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