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