repo.or.cz
/
git-blog.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
8565c25
)
Another tweak
author
elliottcable
<
[email protected]
>
Sun, 18 May 2008 06:44:54 +0000
(17 22:44 -0800)
committer
elliottcable
<
[email protected]
>
Sun, 18 May 2008 06:44:54 +0000
(17 22:44 -0800)
prepped/post-receive.hook
patch
|
blob
|
blame
|
history
diff --git
a/prepped/post-receive.hook
b/prepped/post-receive.hook
index
d575149
..
954b2b4
100644
(file)
--- a/
prepped/post-receive.hook
+++ b/
prepped/post-receive.hook
@@
-1,4
+1,4
@@
-#!/usr/bin/env ruby
--trace
+#!/usr/bin/env ruby
# require 'rubygems'
# require 'git'
require 'fileutils'
@@
-12,6
+12,9
@@
include FileUtils
# Branch = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely...
+puts pwd # wtf is going on
+system 'pwd' # wtf is going on
+
system 'cd ../ ; git-checkout -f master' # Should force the push to actually go live
cd '../'
puts 'Re-deploying blog...'