]> gitweb.fluxo.info Git - templater.git/commitdiff
Prints hostname into into post-receive hooks
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Nov 2017 14:35:08 +0000 (12:35 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Nov 2017 14:35:08 +0000 (12:35 -0200)
share/templater/drupal8/files/bin/post-receive
share/templater/ikiwiki/files/bin/post-receive
share/templater/pushtodeploy/files/post-receive

index c9c0e79f94b7cf58b437ef9ef518a5fd1118367e..070a34d5520e36f1d8827c8631aacff493027da7 100755 (executable)
@@ -3,8 +3,6 @@
 # Post-receive git hook.
 #
 
-echo "Deploying on `cat /etc/hostname`..."
-
 cd ..
 unset GIT_DIR
 make deploy
index 627198de009239bb6c99180aed1bf480e1cd190a..4323c84681af5878cdea3ff8a2c7db649022a806 100755 (executable)
@@ -3,6 +3,8 @@
 # Post-receive git hook
 #
 
+echo "Deploying on `cat /etc/hostname`..."
+
 cd ..
 unset GIT_DIR
 
index 3e706e98432988084ded70c0895834ed4b957e1b..c0c5a950bdf96890fde55c06f125e6e3bf3228e7 100755 (executable)
@@ -3,6 +3,8 @@
 # Post-receive git hook
 #
 
+echo "Deploying on `cat /etc/hostname`..."
+
 # Go to repository base
 cd ..
 unset GIT_DIR