repo.or.cz
/
git-blog.git
/
commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
3586a2e
)
Touched up the post-recieve hook, to force an update of the working directory
author
elliottcable
<
[email protected]
>
Sun, 18 May 2008 05:53:43 +0000
(17 21:53 -0800)
committer
elliottcable
<
[email protected]
>
Sun, 18 May 2008 05:53:43 +0000
(17 21:53 -0800)
prepped/post-receive.hook
patch
|
blob
|
blame
|
history
diff --git
a/prepped/post-receive.hook
b/prepped/post-receive.hook
index
8581cc6
..
8e81e74
100644
(file)
--- 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