changes to scripts as to be run by hook
parent
3b1d781227
commit
065b39dcb4
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
git_work_tree_path=/var/www/mmdc-site
|
||||
GIT_WORK_TREE=$git_work_tree_path git checkout -f
|
||||
|
||||
commitname=`git log -n 1 --pretty=format:%cn`
|
||||
commitdate=`git log -n 1 --pretty=format:%cd`
|
||||
|
||||
# runs script that converts md to website
|
||||
python $git_work_tree_path/mmdc_wiki2web.py
|
Loading…
Reference in New Issue