add incremental serving, remove gem cleanup
This commit is contained in:
		@@ -6,7 +6,7 @@ services:
 | 
			
		||||
  jekyll-serve:
 | 
			
		||||
    container_name: jekyll-serve
 | 
			
		||||
    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:
 | 
			
		||||
      JEKYLL_ENV: local
 | 
			
		||||
    ports:
 | 
			
		||||
@@ -27,8 +27,7 @@ services:
 | 
			
		||||
          require \"rubygems\"; \
 | 
			
		||||
          spec = Gem::Specification::load(\"jekyll-theme-isabelline.gemspec\"); \
 | 
			
		||||
          puts \"#{spec.version}\"'` \
 | 
			
		||||
        && xgem push jekyll-theme-isabelline-$${GEM_VER}.gem \
 | 
			
		||||
        && xrm jekyll-theme-isabelline-*.gem
 | 
			
		||||
        && gem push jekyll-theme-isabelline-$${GEM_VER}.gem
 | 
			
		||||
      "
 | 
			
		||||
    volumes:
 | 
			
		||||
      - .:/srv/jekyll
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user