Files
syncthing/deploy.sh
2015-05-28 14:19:05 +02:00

12 lines
160 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
git pull
rm -fr _build
make html
rm -rf _deployed.old
[ -d _deployed ] && mv _deployed _deployed.old || true
mv _build _deployed