homepage/build.sh

11 lines
237 B
Bash
Raw Normal View History

2022-09-04 16:59:13 -06:00
#! /bin/sh
2022-09-04 19:54:41 -06:00
rm -rf $(dirname $0)/public
2022-09-04 16:59:13 -06:00
docker run \
--rm -i \
-v $(realpath $(dirname $0)):/src \
-u $(id -u):$(id -g) \
klakegg/hugo:ext build
rsync --delete -vax $(dirname $0)/public/ melville.woozle.org:/srv/www/woozle.org/