Add a deploy task

This commit is contained in:
Bradlee Speice 2018-09-01 16:28:00 -04:00
parent f94e5b725d
commit d1bc5d172f
3 changed files with 11 additions and 0 deletions

View File

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

View File

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

View File

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