Fixed Unexpected Script Looping Issue
This commit is contained in:
parent
c462c216da
commit
2bfa8aab9b
@ -17,11 +17,10 @@ while true; do
|
||||
if [ ! -d "repo" ]; then
|
||||
echo "Repository $REPO_URL doesn't exist locally - Downloading..."
|
||||
git clone $REPO_URL repo
|
||||
fi
|
||||
|
||||
cd repo
|
||||
rsync -av --delete ./ /DATA
|
||||
curl -d "Repository $REPO_URL doesn't exist locally - Downloading..." $NTFY_URL
|
||||
fi
|
||||
|
||||
# Fetch the latest changes
|
||||
git fetch origin main
|
||||
|
Loading…
x
Reference in New Issue
Block a user