This commit is contained in:
Tiemen van Olst
2025-09-08 15:36:33 +02:00
parent 95dadf4ac4
commit 2575f6e769

View File

@@ -4,6 +4,8 @@ set -e
# Als repo nog niet bestaat, clone
if [ ! -d ".git" ]; then
echo "Cloning repo..."
echo "GIT_REPO_URL: ${GIT_REPO_URL}"
echo "GIT_BRANCH: ${GIT_BRANCH:-main}"
git clone -b ${GIT_BRANCH:-main} ${GIT_REPO_URL} .
else
echo "Pulling latest changes..."