Commit 57796c3c authored by Vadym Gidulian's avatar Vadym Gidulian

Changed CI variables' names according to GitLab 9.0 changes

parent b2b6dbe7
......@@ -23,14 +23,14 @@ deploy:review:
variables:
GIT_STRATEGY: none
script:
- rsync -rv --delete dist/ /test/$CI_PROJECT_NAME--$CI_BUILD_REF_SLUG/
- rsync -rv --delete dist/ /test/$CI_PROJECT_NAME--$CI_COMMIT_REF_SLUG/
dependencies:
- build
tags:
- gviagroup-deploy
environment:
name: review/$CI_BUILD_REF_NAME
url: http://$CI_BUILD_REF_SLUG.$CI_PROJECT_NAME.test.$DOMAIN
name: review/$CI_COMMIT_REF_NAME
url: http://$CI_COMMIT_REF_SLUG.$CI_PROJECT_NAME.test.$DOMAIN
on_stop: undeploy:review
only:
- branches
......@@ -77,12 +77,12 @@ undeploy:review:
variables:
GIT_STRATEGY: none
script:
- rm -rf /test/$CI_PROJECT_NAME--$CI_BUILD_REF_SLUG
- rm -rf /test/$CI_PROJECT_NAME--$CI_COMMIT_REF_SLUG
when: manual
tags:
- gviagroup-deploy
environment:
name: review/$CI_BUILD_REF_NAME
name: review/$CI_COMMIT_REF_NAME
action: stop
only:
- branches
......
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