10 lines
287 B
Bash
Executable File
10 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
# Daily push of /config to fkrebs/home-assistant-config.
|
|
# .gitignore handles secret allowlist. See /docs/infra/config-to-git.md.
|
|
set -e
|
|
cd /config
|
|
git add -A
|
|
git diff --cached --quiet && exit 0
|
|
git commit -q -m "auto: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
|
git push -q origin main
|