if
This commit is contained in:
parent
4003148f28
commit
d7b94d73b9
1 changed files with 0 additions and 3 deletions
3
app.sh
3
app.sh
|
@ -44,9 +44,6 @@ while true ; do
|
||||||
cd "$GIT_REPO_PATH"
|
cd "$GIT_REPO_PATH"
|
||||||
if [ -d ".git" ] ; then
|
if [ -d ".git" ] ; then
|
||||||
git pull "$GIT_REPO_REMOTE_NAME" "$GIT_REPO_BRANCH" --quiet
|
git pull "$GIT_REPO_REMOTE_NAME" "$GIT_REPO_BRANCH" --quiet
|
||||||
else
|
|
||||||
echo "Error: The directory exists but is not a Git repository"
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet
|
git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet
|
||||||
|
|
Loading…
Reference in a new issue