5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-28 17:13:08 +00:00
master/dev need to have seperate bundle install/deploys
This commit is contained in:
Nick Sellen 2018-11-29 16:07:23 +00:00
parent 3b12a56f2d
commit af19045146

View File

@ -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