5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-24 11:35:24 +00:00

Merge branch 'fixup-ci' into 'dev'

Fixup CI

See merge request cotech/website!5
This commit is contained in:
Nick Sellen 2018-11-29 16:13:00 +00:00
commit d308638462

View File

@ -24,16 +24,25 @@ test:
except: except:
- master - master
pages: deploy:production:
stage: deploy stage: deploy
script: script:
- bundle exec jekyll build -d public - bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/default/ - 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 - bundle exec jekyll build -d public
- rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/ - rsync -aqz public/ cotech@webarch2.co.uk:sites/dev/
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - dev