Change gitlab-ci.yml to try and get environments working

This commit is contained in:
Karl Cordes 2019-04-25 12:51:17 +10:00
parent e34ec3fc15
commit 55f17bbf7e

View file

@ -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