diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-01-29 12:23:28 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-01-29 12:23:28 -0200 |
commit | ca7059e4d01e8c5388891412907b1213fed4da60 (patch) | |
tree | c9666d7bc48824eb8e75b59f61fa32c1bf09a644 /ikiwiki/Makefile | |
parent | 65e62fc7803312dfc48670a6869daa20797c56d8 (diff) | |
download | templates-ca7059e4d01e8c5388891412907b1213fed4da60.tar.gz templates-ca7059e4d01e8c5388891412907b1213fed4da60.tar.bz2 |
Makefile: publish target
Diffstat (limited to 'ikiwiki/Makefile')
-rw-r--r-- | ikiwiki/Makefile | 2 |
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 |