diff options
| author | Henry Webster <hwebs@hwebs.info> | 2026-07-22 21:01:09 -0500 |
|---|---|---|
| committer | Henry Webster <hwebs@hwebs.info> | 2026-07-22 21:01:09 -0500 |
| commit | bee838cc99c8bbb30c5376308664e0be33ff1a77 (patch) | |
| tree | ddbfe79ca59d0efe50eccc12fd17dc96d226221e | |
| parent | 860dfc3a100972e4b63df298d944e82005cf7c66 (diff) | |
add cronjob script
| -rw-r--r-- | build.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..4fb28be --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -eu + +# Run as a cronjob on the FreeBSD server to update the 'now' feeds and rebuild. +# Yes, it would be easier to rsync from a system with better guile support. + +# TODO actually install haunt + +cd "$HOME/www-personal" + +./update.sh + +"$HOME/git/haunt/pre-inst-env" haunt build +exec "$HOME/git/haunt/pre-inst-env" haunt publish |
