aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-29 12:23:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-29 12:23:28 -0200
commitca7059e4d01e8c5388891412907b1213fed4da60 (patch)
treec9666d7bc48824eb8e75b59f61fa32c1bf09a644 /ikiwiki/Makefile
parent65e62fc7803312dfc48670a6869daa20797c56d8 (diff)
downloadtemplates-ca7059e4d01e8c5388891412907b1213fed4da60.tar.gz
templates-ca7059e4d01e8c5388891412907b1213fed4da60.tar.bz2
Makefile: publish target
Diffstat (limited to 'ikiwiki/Makefile')
-rw-r--r--ikiwiki/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ikiwiki/Makefile b/ikiwiki/Makefile
index 34d04c9..97b5ce8 100644
--- a/ikiwiki/Makefile
+++ b/ikiwiki/Makefile
@@ -25,6 +25,8 @@ web_deploy:
#git annex sync
@rsync -avz --delete www/ templates:/var/sites/templates/www/
+publish: web web_deploy
+
post_receive:
git config receive.denyCurrentBranch ignore
cd .git/hooks && ln -sf ../../bin/post-receive