mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
fix: gitea repositories backup
This commit is contained in:
@@ -53,7 +53,7 @@ spec:
|
||||
if [ -d "$WORK_DIR/$org/$repo" ]; then
|
||||
echo "INFO: pull $org/$repo..."
|
||||
cd $WORK_DIR/$org/$repo
|
||||
git reset --hard FETCH_HEAD
|
||||
git reset --hard
|
||||
git pull
|
||||
test $? -ne 0 && exit 1
|
||||
echo "INFO: clean $org/$repo..."
|
||||
|
Reference in New Issue
Block a user