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:
- sh deploy/gdccloud/deploy.sh
only:
- dev
- master
cache:
key: "$CI_PROJECT_ID"
policy: pull
paths:
- 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