Commit ac97c491 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/2496' into 'dev'

.gitlab-ci.yml: deploy to production

See merge request !53
parents 9b6ac4e8 a0c00066
Pipeline #19377 failed with stages
in 3 seconds
......@@ -206,11 +206,16 @@ deploy_review:
deploy_prod:
stage: deploy_prod
script:
- rsync -av --delete browser $PROD_CLIENT_SERVER:$PROD_CLIENT_PATH
- ssh $PROD_CLIENT_SERVER "cp -pr $PROD_CLIENT_PATH_TEMPLATE/browser $PROD_CLIENT_PATH"
- ssh $PROD_CLIENT_SERVER "
cd $PROD_CLIENT_PATH;
git fetch
&& git reset --hard origin/prod-client
&& make -C browser
&& make -C browser sha1
&& cp doc/analysis-example.vidjil browser/"
environment:
name: production
url: http://app.vidjil.org/?data=analysis-example.vidjil
url: http://$PROD_CLIENT_SERVER/?data=analysis-example.vidjil
only:
- prod-client
tags:
......
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