2023-10-09 09:42:05 -05:00
|
|
|
#!/usr/bin/env bash
|
2023-10-09 10:00:01 -05:00
|
|
|
set -e
|
2023-10-09 09:42:05 -05:00
|
|
|
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
|
|
|
cd $GIT_DIR
|
2023-10-10 12:53:31 -05:00
|
|
|
./backup.sh
|
2023-10-09 09:42:05 -05:00
|
|
|
git add .
|
2023-10-09 11:12:28 -05:00
|
|
|
git commit -m "Automated backup: $(date --rfc-3339=s --utc)"
|
2023-10-10 19:02:26 -05:00
|
|
|
git push
|
2024-06-02 13:54:30 -05:00
|
|
|
cd -
|