fix syntax #20

Merged
mg merged 1 commit from test into master 2025-01-30 11:17:41 +01:00

2
app.sh
View file

@ -42,7 +42,7 @@ fi
echo "[INFO] clone repository..." | ts %Y-%m-%d_%H-%M-%S
if GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -i $GIT_REPO_DEPLOY_KEY" git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet > /dev/null; then
cd "$GIT_REPO_PATH" | ts %Y-%m-%d_%H-%M-%S || exit
cd "$GIT_REPO_PATH" || exit
else
echo "[ERROR] Failed to clone repository." | ts %Y-%m-%d_%H-%M-%S
exit 1