diff --git a/Gemfile b/Gemfile index 2ee73d9..c48f30d 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,7 @@ source "https://rubygems.org" gem "jekyll", "3.4.3" gem "html-proofer" gem "rb-fsevent", "0.9.8" +gem "jgd", "1.11" group :jekyll_plugins do gem 'jekyll-livereload' diff --git a/Gemfile.lock b/Gemfile.lock index 4121bb7..46af76a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -49,6 +49,9 @@ GEM sass (~> 3.4) jekyll-watch (1.5.1) listen (~> 3.0) + jgd (1.11) + jekyll (>= 1.5.1) + trollop (= 2.1.2) kramdown (1.16.2) liquid (3.0.6) listen (3.1.5) @@ -76,6 +79,7 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) thread_safe (0.3.6) + trollop (2.1.2) typhoeus (1.3.0) ethon (>= 0.9.0) tzinfo (1.2.5) @@ -89,6 +93,7 @@ DEPENDENCIES html-proofer jekyll (= 3.4.3) jekyll-livereload + jgd (= 1.11) rb-fsevent (= 0.9.8) BUNDLED WITH diff --git a/Rakefile b/Rakefile index 75d6a17..dbde40c 100644 --- a/Rakefile +++ b/Rakefile @@ -62,6 +62,11 @@ task :check do puts `htmlproofer --assume-extension --alt-ignore '/.*/' ./_site` end +desc 'Deploy site' +task :deploy do + sh 'jgd -b deploy' +end + # Usage: rake post title="A Title" [date="2012-02-09"] [tags=[tag1,tag2]] [category="category"] desc "Begin a new post in #{CONFIG['posts']}" task :post do