2023-04-16 09:34:19 +03:00
|
|
|
#!/usr/bin/env sh
|
2023-04-16 21:46:56 +03:00
|
|
|
echo $(hostname) > /mnt/data/etc/vestasync/hostname
|
2023-04-16 19:02:54 +03:00
|
|
|
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)"
|
|
|
|
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)"
|
2023-04-17 11:21:53 +03:00
|
|
|
export LC_TIME=en_GB.UTF-8
|
2023-04-16 09:34:19 +03:00
|
|
|
cd /mnt/data/etc/ > /dev/null 2>&1 || true
|
|
|
|
git add . > /dev/null 2>&1 || true
|
2023-04-17 11:21:53 +03:00
|
|
|
git commit -m "$(date +"%Y-%m-%d %H:%M:%S %z %Z")" > /dev/null 2>&1 || true
|
2023-04-16 09:34:19 +03:00
|
|
|
git push -u origin master > /dev/null 2>&1 || true
|