summaryrefslogtreecommitdiff
path: root/makesite.sh
blob: 5aa38828df62295365f548fd1f6896c4bdd9e1d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Lots of hard coded foo here. This is very digithink.com specific.
{   echo "====================== Start Build `date`==================="
    cd /var/www/digithink/repo
    git pull && mkdocs build 
    rm -rf ../osite
    mv ../site ../osite
    mv site ..
    cd /var/www/digithink/repo/whiskey/bartender
    mkdocs build
    cp -rpvf site/. /var/www/digithink/whiskey/bartender/
    echo "=========================== Done: `date` ===================="
}| tee logs/pullandbuild.out