Change gitlab-ci.yml to try and get environments working
This commit is contained in:
parent
e34ec3fc15
commit
55f17bbf7e
|
|
@ -6,6 +6,12 @@ build:
|
||||||
script:
|
script:
|
||||||
- docker build . -t "cmc:latest"
|
- docker build . -t "cmc:latest"
|
||||||
|
|
||||||
deploy:
|
deploy_staging:
|
||||||
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- echo hello world
|
- echo "Deploy to staging server"
|
||||||
|
environment:
|
||||||
|
name: staging
|
||||||
|
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue