summaryrefslogtreecommitdiffstats
path: root/roles/local_deploy/files/post-receive.private.sh
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-12 11:54:55 +0100
committerMichael Scherer <misc@zarb.org>2014-12-12 11:54:55 +0100
commite7fc28f43ff210574682445ba62239f840888b76 (patch)
tree84fb0e4b4de28fbb2b8f428c58cf8aed2e0e2822 /roles/local_deploy/files/post-receive.private.sh
parentdd06fb0a56feba126cce5ef75e84e23eb72fe7aa (diff)
Add the local deploy role
Diffstat (limited to 'roles/local_deploy/files/post-receive.private.sh')
-rw-r--r--roles/local_deploy/files/post-receive.private.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/local_deploy/files/post-receive.private.sh b/roles/local_deploy/files/post-receive.private.sh
new file mode 100644
index 0000000..e6d6abb
--- /dev/null
+++ b/roles/local_deploy/files/post-receive.private.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+GIT_WORK_TREE=/etc/ansible/ git checkout -q -f