From fb7e21267ae2dcb6c3431b415061b04d1dded3f9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 28 Nov 2017 12:35:08 -0200 Subject: Prints hostname into into post-receive hooks --- share/templater/drupal8/files/bin/post-receive | 2 -- share/templater/ikiwiki/files/bin/post-receive | 2 ++ share/templater/pushtodeploy/files/post-receive | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/templater/drupal8/files/bin/post-receive b/share/templater/drupal8/files/bin/post-receive index c9c0e79..070a34d 100755 --- a/share/templater/drupal8/files/bin/post-receive +++ b/share/templater/drupal8/files/bin/post-receive @@ -3,8 +3,6 @@ # Post-receive git hook. # -echo "Deploying on `cat /etc/hostname`..." - cd .. unset GIT_DIR make deploy diff --git a/share/templater/ikiwiki/files/bin/post-receive b/share/templater/ikiwiki/files/bin/post-receive index 627198d..4323c84 100755 --- a/share/templater/ikiwiki/files/bin/post-receive +++ b/share/templater/ikiwiki/files/bin/post-receive @@ -3,6 +3,8 @@ # Post-receive git hook # +echo "Deploying on `cat /etc/hostname`..." + cd .. unset GIT_DIR diff --git a/share/templater/pushtodeploy/files/post-receive b/share/templater/pushtodeploy/files/post-receive index 3e706e9..c0c5a95 100755 --- a/share/templater/pushtodeploy/files/post-receive +++ b/share/templater/pushtodeploy/files/post-receive @@ -3,6 +3,8 @@ # Post-receive git hook # +echo "Deploying on `cat /etc/hostname`..." + # Go to repository base cd .. unset GIT_DIR -- cgit v1.2.3