mirror of
https://github.com/danbee/cv
synced 2025-03-04 08:59:12 +00:00
Add rake task for deploy.
This commit is contained in:
parent
2e7f870ddd
commit
e6477a7bc8
2
Gemfile
2
Gemfile
@ -1,5 +1,7 @@
|
|||||||
source "http://rubygems.org"
|
source "http://rubygems.org"
|
||||||
|
|
||||||
|
gem "rake"
|
||||||
|
|
||||||
gem "stasis"
|
gem "stasis"
|
||||||
gem "therubyracer"
|
gem "therubyracer"
|
||||||
gem "hpricot"
|
gem "hpricot"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ GEM
|
|||||||
libv8 (3.3.10.4)
|
libv8 (3.3.10.4)
|
||||||
multi_json (1.3.6)
|
multi_json (1.3.6)
|
||||||
net-ssh (2.5.2)
|
net-ssh (2.5.2)
|
||||||
|
rake (10.0.3)
|
||||||
redcarpet (2.1.1)
|
redcarpet (2.1.1)
|
||||||
redis (2.2.2)
|
redis (2.2.2)
|
||||||
sass (3.1.20)
|
sass (3.1.20)
|
||||||
@ -36,6 +37,7 @@ DEPENDENCIES
|
|||||||
haml
|
haml
|
||||||
hpricot
|
hpricot
|
||||||
net-ssh
|
net-ssh
|
||||||
|
rake
|
||||||
redcarpet
|
redcarpet
|
||||||
sass
|
sass
|
||||||
stasis
|
stasis
|
||||||
|
|||||||
4
Rakefile
Normal file
4
Rakefile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
task "deploy" do
|
||||||
|
sh "git add public; git commit -m 'Deployed to gh-pages'"
|
||||||
|
sh "git subtree push --prefix public origin gh-pages"
|
||||||
|
end
|
||||||
@ -6,4 +6,6 @@ ignore /README\.md/
|
|||||||
ignore /danbarbercv/
|
ignore /danbarbercv/
|
||||||
ignore /deploy.rb/
|
ignore /deploy.rb/
|
||||||
|
|
||||||
|
ignore /Rakefile/
|
||||||
|
|
||||||
layout "layouts/main.html.haml"
|
layout "layouts/main.html.haml"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user