fix syntax #20
1 changed files with 1 additions and 1 deletions
2
app.sh
2
app.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue