Files
syncthing/deploy.sh
T

12 lines
160 B
Bash
Raw Normal View History

2015-05-28 12:40:43 +02:00
#!/bin/sh
2015-05-28 14:17:54 +02:00
set -euo pipefail
2015-05-28 12:40:43 +02:00
2015-05-28 14:17:54 +02:00
git pull
rm -fr _build
make html
rm -rf _deployed.old
[ -d _deployed ] && mv _deployed _deployed.old || true
mv _build _deployed
2015-05-28 12:40:43 +02:00