1
0
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:
Dan Barber 2013-03-20 11:43:07 +00:00
parent 2e7f870ddd
commit e6477a7bc8
4 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
source "http://rubygems.org"
gem "rake"
gem "stasis"
gem "therubyracer"
gem "hpricot"

View File

@ -13,6 +13,7 @@ GEM
libv8 (3.3.10.4)
multi_json (1.3.6)
net-ssh (2.5.2)
rake (10.0.3)
redcarpet (2.1.1)
redis (2.2.2)
sass (3.1.20)
@ -36,6 +37,7 @@ DEPENDENCIES
haml
hpricot
net-ssh
rake
redcarpet
sass
stasis

4
Rakefile Normal file
View 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

View File

@ -6,4 +6,6 @@ ignore /README\.md/
ignore /danbarbercv/
ignore /deploy.rb/
ignore /Rakefile/
layout "layouts/main.html.haml"