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:
4f35722
)
Small bug in the hook
author
elliottcable
<
[email protected]
>
Sun, 18 May 2008 00:51:46 +0000
(17 16:51 -0800)
committer
elliottcable
<
[email protected]
>
Sun, 18 May 2008 00:51:46 +0000
(17 16:51 -0800)
prepped/post-receive.hook
patch
|
blob
|
blame
|
history
diff --git
a/prepped/post-receive.hook
b/prepped/post-receive.hook
index
3c102d6
..
c030b87
100644
(file)
--- a/
prepped/post-receive.hook
+++ b/
prepped/post-receive.hook
@@
-12,5
+12,5
@@
Refname = ARGV.shift # refs/heads/master
Branch = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely...
-cd '../
../
'
+cd '../'
system 'rake deploy'
\ No newline at end of file