Commit 447ca193 authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Deploy prod-client

Deploy to $PROD_CLIENT_SERVER where the SSH config is as is:

Host app.vidjil.org
        StrictHostKeyChecking no
        UserKnownHostsFile=/dev/null
        User = bonsai-ci
        IdentityFile = ~/.ssh/bonsai-ci
parent 4f7d3571
......@@ -48,6 +48,15 @@ deploy:
- /^feature-[cw]\/.*$/
- /^hotfix-[cw]\/.*$/
deploy:
stage: deploy
script:
- ssh $PROD_CLIENT_SERVER "cd $PROD_CLIENT_PATH; git fetch ; git reset --hard origin/prod-client"
environment:
name: production
only:
- prod-client
stop_deploy:
stage: deploy
variables:
......
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