add environment
This commit is contained in:
parent
9418a47a1d
commit
d35e0f7ba3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user