]> git.phdru.name Git - cookiecutter.git/blob - project_template/publish-docs
Use htdocs.path instead of absolute path
[cookiecutter.git] / project_template / publish-docs
1 #! /bin/sh
2
3 web="`git config --get --path htdocs.path`" &&
4
5 cd "`dirname \"$0\"`"/docs/_build/html &&
6 rsync -ahP --del * --exclude=/objects.inv "$web" &&
7
8 exec chmod -R u=rwX,go=rX "$web"