Commit a0c00066 authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Deploy prod-client using git

Following discussions in !53
parent 7abf96da
Pipeline #18906 canceled with stages
in 9 seconds
......@@ -206,8 +206,13 @@ 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://$PROD_CLIENT_SERVER/?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