summaryrefslogtreecommitdiff
path: root/roles/sublab_web/templates/website-rebuild.sh.j2
blob: 227fb657b4e26952cd641d6d67f3cbef7ae87f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
#
# {{ ansible_managed }}
#

cd /var/www/{{sublab_web_server_name}}/htdocs
git fetch git://git.sublab.org/website.git master
git reset --hard FETCH_HEAD
cd scripts
python template.py
python wikitemplate.py > ../../wiki-page.tmpl