add environment

This commit is contained in:
Anton Romanov 2019-03-18 22:25:28 +04:00
parent 9418a47a1d
commit d35e0f7ba3

View File

@ -31,10 +31,20 @@ deploy:
script: script:
- sh deploy/gdccloud/deploy.sh - sh deploy/gdccloud/deploy.sh
only: only:
- dev - master
cache: cache:
key: "$CI_PROJECT_ID" key: "$CI_PROJECT_ID"
policy: pull policy: pull
paths: paths:
- build - build
- .gradle - .gradle
deploy_staging:
stage: deploy
script:
- echo "Deploy to staging server"
environment:
name: staging
url: http://193.110.3.124:8080
only:
- dev