mirror of
https://github.com/bspeice/speice.io
synced 2024-11-05 01:28:09 -05:00
Add a deploy task
This commit is contained in:
parent
f94e5b725d
commit
d1bc5d172f
1
Gemfile
1
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'
|
||||
|
@ -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
|
||||
|
5
Rakefile
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user