Initial setup based on custom-html

This commit is contained in:
cas
2022-10-26 17:26:30 -07:00
commit e8ec567f43
7 changed files with 139 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ ! -d /git/.git ]; then
echo "No repo found, emptying /git/ directory"
rm -r /git/*
echo "Cloning $GIT_REPO_URL into /git"
git clone "$GIT_REPO_URL" /git
else
echo "Updating /git"
git pull
fi