mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -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 "jekyll", "3.4.3"
|
||||||
gem "html-proofer"
|
gem "html-proofer"
|
||||||
gem "rb-fsevent", "0.9.8"
|
gem "rb-fsevent", "0.9.8"
|
||||||
|
gem "jgd", "1.11"
|
||||||
|
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
gem 'jekyll-livereload'
|
gem 'jekyll-livereload'
|
||||||
|
@ -49,6 +49,9 @@ GEM
|
|||||||
sass (~> 3.4)
|
sass (~> 3.4)
|
||||||
jekyll-watch (1.5.1)
|
jekyll-watch (1.5.1)
|
||||||
listen (~> 3.0)
|
listen (~> 3.0)
|
||||||
|
jgd (1.11)
|
||||||
|
jekyll (>= 1.5.1)
|
||||||
|
trollop (= 2.1.2)
|
||||||
kramdown (1.16.2)
|
kramdown (1.16.2)
|
||||||
liquid (3.0.6)
|
liquid (3.0.6)
|
||||||
listen (3.1.5)
|
listen (3.1.5)
|
||||||
@ -76,6 +79,7 @@ GEM
|
|||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
rb-inotify (~> 0.9, >= 0.9.7)
|
rb-inotify (~> 0.9, >= 0.9.7)
|
||||||
thread_safe (0.3.6)
|
thread_safe (0.3.6)
|
||||||
|
trollop (2.1.2)
|
||||||
typhoeus (1.3.0)
|
typhoeus (1.3.0)
|
||||||
ethon (>= 0.9.0)
|
ethon (>= 0.9.0)
|
||||||
tzinfo (1.2.5)
|
tzinfo (1.2.5)
|
||||||
@ -89,6 +93,7 @@ DEPENDENCIES
|
|||||||
html-proofer
|
html-proofer
|
||||||
jekyll (= 3.4.3)
|
jekyll (= 3.4.3)
|
||||||
jekyll-livereload
|
jekyll-livereload
|
||||||
|
jgd (= 1.11)
|
||||||
rb-fsevent (= 0.9.8)
|
rb-fsevent (= 0.9.8)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
5
Rakefile
5
Rakefile
@ -62,6 +62,11 @@ task :check do
|
|||||||
puts `htmlproofer --assume-extension --alt-ignore '/.*/' ./_site`
|
puts `htmlproofer --assume-extension --alt-ignore '/.*/' ./_site`
|
||||||
end
|
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"]
|
# Usage: rake post title="A Title" [date="2012-02-09"] [tags=[tag1,tag2]] [category="category"]
|
||||||
desc "Begin a new post in #{CONFIG['posts']}"
|
desc "Begin a new post in #{CONFIG['posts']}"
|
||||||
task :post do
|
task :post do
|
||||||
|
Loading…
Reference in New Issue
Block a user