From 0faeeb953ef8b156da376dec15a03275e1086829 Mon Sep 17 00:00:00 2001 From: monoadmin Date: Thu, 25 Dec 2025 09:52:39 -0800 Subject: [PATCH] Automated backup on 2025-12-25 09:52:39 --- backup-gitea.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 backup-gitea.sh diff --git a/backup-gitea.sh b/backup-gitea.sh new file mode 100644 index 0000000..eec2187 --- /dev/null +++ b/backup-gitea.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Change directory to the folder +cd /usr/local/sbin + +# Stage all files +git add . + +# Commit changes with a timestamp +git commit -m "Automated backup on $(date +'%Y-%m-%d %H:%M:%S')" + +# Push to Gitea +git push origin master