From 9d882bc4a34cd32617b1f18d5080954a56a254e9 Mon Sep 17 00:00:00 2001 From: Nick Sellen Date: Fri, 30 Nov 2018 18:01:32 +0000 Subject: [PATCH] A few deployments tweaks --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e733396..e412588 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,13 +38,13 @@ deploy:dev: stage: staging script: - bundle exec jekyll build -d public - - rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/ + - rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/dev/ artifacts: paths: - public environment: name: dev - url: https://dev.static.coops.tech + url: https://dev.coops.tech only: - master @@ -52,13 +52,13 @@ deploy:production: stage: production script: - bundle exec jekyll build -d public - - rsync -aqz public/ cotech@webarch2.co.uk:sites/default/ + - rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/default/ artifacts: paths: - public environment: name: production - url: https://static.coops.tech + url: https://www.coops.tech only: - master when: manual \ No newline at end of file