add incremental serving, remove gem cleanup

This commit is contained in:
rzen 2019-07-23 00:13:51 -04:00
parent a71af9d59f
commit bbea6ec6c9

View File

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