From 8cc7fc32736eb77767cfe626a0ca35ae397407ca Mon Sep 17 00:00:00 2001 From: Chris Croome Date: Sun, 6 Nov 2022 19:28:17 +0000 Subject: [PATCH] Test server migration --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e55b85..99bf08d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ before_script: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts + - ssh-keyscan web.cotech.uk > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - bundle install --path vendor @@ -38,7 +38,7 @@ deploy:dev: stage: staging script: - bundle exec jekyll build -d public - - rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/dev/ + - rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/dev/ artifacts: paths: - public @@ -52,7 +52,7 @@ deploy:production: stage: production script: - bundle exec jekyll build -d public - - rsync -aqz --delete-after public/ cotech@webarch2.co.uk:sites/default/ + - rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/default/ artifacts: paths: - public