summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy b/deploy
index 70afc7f..33d81f9 100755
--- a/deploy
+++ b/deploy
@@ -27,8 +27,8 @@ archive="./${now}_${rev}.tar.gz"
printf "Re-generating static website from source ...\\n"
( cd "${root}" \
- && stack run -- clean >/dev/null 2>&1 \
- && stack run -- build >/dev/null 2>&1 )
+ && cabal v2-run exe:site -- clean >/dev/null 2>&1 \
+ && cabal v2-run exe:site -- build >/dev/null 2>&1 )
[ -z "$( git status --porcelain )" ] || {
( >&2 printf "error: dirty working tree\\n" )
@@ -40,7 +40,7 @@ tar -czf "${archive}" "${src}"
scp "${archive}" engine.skreutz.com:www-archive/
rm "${archive}"
-rsync --rsync-path=openrsync --archive --delete --verbose \
+openrsync --rsync-path=openrsync --archive --delete --verbose \
"${src}" "engine.skreutz.com:/var/www/htdocs/www.skreutz.com"
curl \
Generated by cgit. See skreutz.com for my tech blog and contact information.