merge deploy environments
This commit is contained in:
parent
d35e0f7ba3
commit
c374cb4232
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user