initial commit
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
REPO_DIR="/config"
|
||||
cd "$REPO_DIR"
|
||||
|
||||
# Optional: ignore noisy/generated files here if needed
|
||||
git add .
|
||||
|
||||
# Only commit if something actually changed
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "HA auto-commit: $(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push origin main
|
||||
fi
|
||||
Reference in New Issue
Block a user