From d4ffd60faee9de3d916f538bf2df9286b2b3347e Mon Sep 17 00:00:00 2001 From: elliottcable Date: Sat, 17 May 2008 21:53:43 -0800 Subject: [PATCH] Touched up the post-recieve hook, to force an update of the working directory --- prepped/post-receive.hook | 1 + 1 file changed, 1 insertion(+) diff --git a/prepped/post-receive.hook b/prepped/post-receive.hook index 8581cc6..8e81e74 100644 --- a/prepped/post-receive.hook +++ b/prepped/post-receive.hook @@ -13,5 +13,6 @@ include FileUtils # Branch = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely... 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 -- 2.11.4.GIT