mirror of
https://git.coop/cotech/website.git
synced 2024-12-23 19:15:24 +00:00
Merge branch 'fixup-ci' into 'dev'
Fixup CI See merge request cotech/website!5
This commit is contained in:
commit
d308638462
@ -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
|
Loading…
Reference in New Issue
Block a user