add stash to before/after deploy so you dont lose in progress h@x
This commit is contained in:
parent
f0a698d806
commit
f3120b3d5a
2 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ task :after_deploy => :environment do
|
|||
puts "-----> resetting HEAD before custom landing page commit"
|
||||
|
||||
system("git reset --hard HEAD^") ? true : fail
|
||||
system("git stash pop") ? true : fail
|
||||
|
||||
puts "-----> done"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@ task :before_deploy => :environment do
|
|||
|
||||
puts "-----> including custom landing page in a temp commit"
|
||||
|
||||
|
||||
pp @app_settings
|
||||
|
||||
system("git stash") ? true : fail
|
||||
system("git add app/views/home/_show.html.haml -f") ? true : fail
|
||||
system("git commit -m 'adding custom landing page for heroku'") ? true : fail
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue