From 55f17bbf7e25be6f17d412e9c10b1b9ceaeb6406 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Thu, 25 Apr 2019 12:51:17 +1000 Subject: [PATCH] Change gitlab-ci.yml to try and get environments working --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21c37741..1fcde11d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,12 @@ build: script: - docker build . -t "cmc:latest" -deploy: +deploy_staging: + stage: deploy script: - - echo hello world \ No newline at end of file + - echo "Deploy to staging server" + environment: + name: staging + + only: + - master