add incremental serving, remove gem cleanup
This commit is contained in:
parent
a71af9d59f
commit
bbea6ec6c9
@ -6,7 +6,7 @@ services:
|
|||||||
jekyll-serve:
|
jekyll-serve:
|
||||||
container_name: jekyll-serve
|
container_name: jekyll-serve
|
||||||
image: jekyll/jekyll
|
image: jekyll/jekyll
|
||||||
command: bash -c "bundle update && bundle exec jekyll serve --host 0.0.0.0 --future --draft --force_polling --livereload"
|
command: bash -c "bundle update && bundle exec jekyll serve --host 0.0.0.0 --future --draft --force_polling --livereload --incremental"
|
||||||
environment:
|
environment:
|
||||||
JEKYLL_ENV: local
|
JEKYLL_ENV: local
|
||||||
ports:
|
ports:
|
||||||
@ -27,8 +27,7 @@ services:
|
|||||||
require \"rubygems\"; \
|
require \"rubygems\"; \
|
||||||
spec = Gem::Specification::load(\"jekyll-theme-isabelline.gemspec\"); \
|
spec = Gem::Specification::load(\"jekyll-theme-isabelline.gemspec\"); \
|
||||||
puts \"#{spec.version}\"'` \
|
puts \"#{spec.version}\"'` \
|
||||||
&& xgem push jekyll-theme-isabelline-$${GEM_VER}.gem \
|
&& gem push jekyll-theme-isabelline-$${GEM_VER}.gem
|
||||||
&& xrm jekyll-theme-isabelline-*.gem
|
|
||||||
"
|
"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/srv/jekyll
|
- .:/srv/jekyll
|
||||||
|
Loading…
Reference in New Issue
Block a user