now Github pages :push task forces

This commit is contained in:
Brandon Mathis 2011-09-22 16:16:54 -05:00
parent 4d49149404
commit aa1abd0827

View File

@ -235,7 +235,7 @@ multitask :push do
message = "Site updated at #{Time.now.utc}" message = "Site updated at #{Time.now.utc}"
system "git commit -m \"#{message}\"" system "git commit -m \"#{message}\""
puts "\n## Pushing generated #{deploy_dir} website" puts "\n## Pushing generated #{deploy_dir} website"
system "git push origin #{deploy_branch}" system "git push origin #{deploy_branch} --force"
puts "\n## Github Pages deploy complete" puts "\n## Github Pages deploy complete"
end end
end end