Browse code

now Github pages :push task forces

Brandon Mathis authored on 22/09/2011 at 21:16:54
Showing 1 changed files
... ...
@@ -235,7 +235,7 @@ multitask :push do
235 235
     message = "Site updated at #{Time.now.utc}"
236 236
     system "git commit -m \"#{message}\""
237 237
     puts "\n## Pushing generated #{deploy_dir} website"
238
-    system "git push origin #{deploy_branch}"
238
+    system "git push origin #{deploy_branch} --force"
239 239
     puts "\n## Github Pages deploy complete"
240 240
   end
241 241
 end