Fixup CI
master/dev need to have seperate bundle install/deploys
This commit is contained in:
parent
3b12a56f2d
commit
af19045146
@ -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
|
Loading…
Reference in New Issue
Block a user