From af190451463daea87bba09ccd4a5c25ab22f92c2 Mon Sep 17 00:00:00 2001 From: Nick Sellen Date: Thu, 29 Nov 2018 16:07:23 +0000 Subject: [PATCH] Fixup CI master/dev need to have seperate bundle install/deploys --- .gitlab-ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 223deaf..42ca27a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,16 +24,25 @@ test: except: - master -pages: +deploy:production: stage: deploy script: - bundle exec jekyll build -d public - rsync -aqz public/ cotech@webarch2.co.uk:sites/default/ - - cd public ; git checkout dev ; cd - + artifacts: + paths: + - public + only: + - master + + +deploy:dev: + stage: deploy + script: - bundle exec jekyll build -d public - rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/ artifacts: paths: - public only: - - master + - dev \ No newline at end of file