aboutsummaryrefslogtreecommitdiff
path: root/share/templater/drupal7/files/bin/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'share/templater/drupal7/files/bin/post-receive')
-rwxr-xr-xshare/templater/drupal7/files/bin/post-receive10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/templater/drupal7/files/bin/post-receive b/share/templater/drupal7/files/bin/post-receive
new file mode 100755
index 0000000..c9c0e79
--- /dev/null
+++ b/share/templater/drupal7/files/bin/post-receive
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Post-receive git hook.
+#
+
+echo "Deploying on `cat /etc/hostname`..."
+
+cd ..
+unset GIT_DIR
+make deploy