diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-28 12:35:08 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-28 12:35:08 -0200 |
commit | fb7e21267ae2dcb6c3431b415061b04d1dded3f9 (patch) | |
tree | da973bb5c75b120b7086ebe0d49800c39dea113d | |
parent | 6cbde11ab4fed72113f88160f79f10065b2f10e7 (diff) | |
download | templater-fb7e21267ae2dcb6c3431b415061b04d1dded3f9.tar.gz templater-fb7e21267ae2dcb6c3431b415061b04d1dded3f9.tar.bz2 |
Prints hostname into into post-receive hooks
-rwxr-xr-x | share/templater/drupal8/files/bin/post-receive | 2 | ||||
-rwxr-xr-x | share/templater/ikiwiki/files/bin/post-receive | 2 | ||||
-rwxr-xr-x | share/templater/pushtodeploy/files/post-receive | 2 |
3 files changed, 4 insertions, 2 deletions
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 |