From 20f760863133c4cca057d1fd26240aee577a6d63 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 20 Aug 2015 09:41:35 -0300 Subject: Adds git hooks for push-to-deploy --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b869918..71eb0e1 100644 --- a/Makefile +++ b/Makefile @@ -57,3 +57,11 @@ clean: rm -rf ssl rm -rf modules git checkout modules + +post_update: + git config receive.denyCurrentBranch ignore + cd .git/hooks && ln -sf ../../bin/post-update + +post_receive: + git config receive.denyCurrentBranch ignore + cd .git/hooks && ln -sf ../../bin/post-receive -- cgit v1.2.3