diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20fd812..223deaf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,9 +29,8 @@ pages: script: - bundle exec jekyll build -d public - rsync -aqz public/ cotech@webarch2.co.uk:sites/default/ - - cd public - - git checkout dev - - cd .. + - cd public ; git checkout dev ; cd - + - bundle exec jekyll build -d public - rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/ artifacts: paths: