Skip to content
Extraits de code Groupes Projets
Valider f3120b3d rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

add stash to before/after deploy so you dont lose in progress h@x

parent f0a698d8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter