That didn't work, let's try this
authorelliottcable <[email protected]>
Sun, 18 May 2008 06:02:29 +0000 (17 22:02 -0800)
committerelliottcable <[email protected]>
Sun, 18 May 2008 06:02:29 +0000 (17 22:02 -0800)
prepped/post-receive.hook

index 8e81e74..d575149 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby --trace
 # require 'rubygems'
 # require 'git'
 require 'fileutils'
@@ -12,7 +12,7 @@ include FileUtils
 
 # Branch  = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely...
 
+system 'cd ../ ; git-checkout -f master' # Should force the push to actually go live
 cd '../'
-system 'git-checkout -f master' # Should force the push to actually go live
 puts 'Re-deploying blog...'
 system 'rake deploy'
\ No newline at end of file