merge deploy environments

This commit is contained in:
Anton Romanov 2019-03-18 22:35:01 +04:00
parent d35e0f7ba3
commit c374cb4232

View File

@ -31,20 +31,13 @@ deploy:
script: script:
- sh deploy/gdccloud/deploy.sh - sh deploy/gdccloud/deploy.sh
only: only:
- master - dev
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: environment:
name: staging name: staging
url: http://193.110.3.124:8080 url: http://193.110.3.124:8080
only:
- dev