Forgot to make docker folder visible. bruh

This commit is contained in:
YuruC3
2025-05-11 14:06:58 +02:00
parent 291e0a4949
commit 0d5db658ef
8 changed files with 207 additions and 1 deletions

12
docker/gitPush.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
GITPATH="/etc/debmirror/"
# https://github.com/mujtaba1747/git-autocommit/tree/master
inotifywait --recursive -qq -e modify,close_write $GITPATH
cd $GITPATH &> /dev/null
git pull &> /dev/null
git add --all &> /dev/null
now=$(date) &> /dev/null
git commit -m "Auto-Commit at: $now" &> /dev/null
git push -u origin main &> /dev/null