Fixed the startup script (again again)

This commit is contained in:
2026-01-13 21:46:21 +01:00
parent ee7d40c4e3
commit 2d7c7df78f

View File

@@ -6,7 +6,8 @@ CLEAN_REPO_URL=$(echo "${GIT_REPO_URL}" | sed 's|^https://||')
if [ -d .git ]; then
echo "Pulling latest changes from the repository..."
git pull "https://${GIT_USERNAME}:${GIT_PAT}@${CLEAN_REPO_URL}" "${GIT_BRANCH}" || true
git fetch "https://${GIT_USERNAME}:${GIT_PAT}@${CLEAN_REPO_URL}" "${GIT_BRANCH}"
git reset --hard FETCH_HEAD
fi
# Constants
EXTENSIONS="yml json conf properties" # Space-separated list of extensions