summaryrefslogtreecommitdiffstats
path: root/run.sh
blob: 28a19b0e37519deb8cf74ecf5e6c7d1212f3ee2a (plain)
1
2
3
4
5
6
#!/bin/sh
. ./bin/activate
./bin/pelican content -s pelicanconf.py -t themes/pelican-elegant-1.3 || exit
if [ "$REALLY_DEPLOY" = "1" ]; then
    rsync -e "ssh -i $HOME/.ssh/twir_deploy_key" -razvP --delete-after output/ twir@octayn.net:production
fi