Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a0c00066
Commit
a0c00066
authored
Mar 06, 2018
by
Mikaël Salson
Browse files
.gitlab-ci.yml: Deploy prod-client using git
Following discussions in
!53
parent
7abf96da
Pipeline
#18906
canceled with stages
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a0c00066
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment