Commit 65cf172c authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

.gitlab-ci.yml: Use variable for deployment server

parent 7b901480
......@@ -26,8 +26,8 @@ test_browser-functional:
deploy:
stage: deploy
script:
- rsync -av --delete browser vidjil-ci@vda.vidjil.org:ci/environments/review/$CI_BUILD_REF_SLUG
- scp doc/analysis-example.vidjil vidjil-ci@vda.vidjil.org:ci/environments/review/$CI_BUILD_REF_SLUG/browser/
- rsync -av --delete browser $DEPLOY_SERVER:$DEPLOY_SERVER_PATH$CI_BUILD_REF_SLUG
- scp doc/analysis-example.vidjil $DEPLOY_SERVER:$DEPLOY_SERVER_PATH$CI_BUILD_REF_SLUG/browser/
environment:
name: $CI_BUILD_REF_NAME
url: http://$CI_BUILD_REF_SLUG.ci.vidjil.org/?data=analysis-example.vidjil
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