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:
|
||||
- docker build . -t "cmc:latest"
|
||||
|
||||
deploy:
|
||||
deploy_staging:
|
||||
stage: deploy
|
||||
script:
|
||||
- echo hello world
|
||||
- echo "Deploy to staging server"
|
||||
environment:
|
||||
name: staging
|
||||
|
||||
only:
|
||||
- master
|
||||
|
|
|
|||
Loading…
Reference in a new issue