Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit cc0a5b3e authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud

ci: try another syntax to accept colons

parent 4d0e4c33
Pipeline #188040 passed with stages
in 21 minutes and 23 seconds
......@@ -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