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