gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

ec55a31043c6f07ee3c95b27c1c0bd05c3d4ab93 - Matthew Ernisse - 1716914137

this seems a bit saner than a post-checkout chown

view tree

view raw

diff --git a/files/deploy b/files/deploy
index 5bf9151..4d75462 100644
--- a/files/deploy
+++ b/files/deploy
@@ -85,9 +85,7 @@ if [ -d "$BUILD_DIR/git/repo/gemini.git" ]; then
 fi
 
 echo "Cloning bare repository for cgi."
-git -C $BUILD_DIR/git/repo clone --bare \
+sudo -u mernisse git -C $BUILD_DIR/git/repo clone --bare \
 	https://${CLONE_CREDS}@ssl.ub3rgeek.net/repo/gemini.git
 
-sudo -u mernisse chown -R "$BUILD_DIR/git/repo/gemini.git"
-
 echo "site deployed."