aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2020-07-04 18:35:38 -0400
committerKylie McClain <kylie@somas.is>2020-07-04 18:35:38 -0400
commit1e1896f3a70572aa4eecde4519e7807f583f9351 (patch)
treebdca4cdd2863089d37e1b387f3ea5fff30daf2de
parent1a4957b1c497efaaa600f05dc769e7a0e4bcec87 (diff)
downloadgitolite-admin-1e1896f3a70572aa4eecde4519e7807f583f9351.tar.gz
gitolite-admin-1e1896f3a70572aa4eecde4519e7807f583f9351.tar.xz
gitolite-admin-1e1896f3a70572aa4eecde4519e7807f583f9351.zip
deploy-somas.is: whoopsie
-rwxr-xr-xlocal/hooks/repo-specific/deploy-somas.is-site4
1 files changed, 3 insertions, 1 deletions
diff --git a/local/hooks/repo-specific/deploy-somas.is-site b/local/hooks/repo-specific/deploy-somas.is-site
index 457639b..1035940 100755
--- a/local/hooks/repo-specific/deploy-somas.is-site
+++ b/local/hooks/repo-specific/deploy-somas.is-site
@@ -4,7 +4,9 @@ backtick -n tempdir { mktemp -d }
importas -u tempdir tempdir
if { git clone -q . "${tempdir}"/ }
+cd "${tempdir}"
if { make openring }
if { jekyll build --strict_front_matter }
-if { rsync -ru --del "${tempdir}"/ deploy@angela.somas.is:/srv/www/www.somas.is/ }
+if { rsync -ru --del "${tempdir}"/_site deploy@angela.somas.is:/srv/www/www.somas.is/ }
+cd ..
rm -rf "${tempdir}"