diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |