mirror of
https://git.sdbs.cz/sdbs/digital-garden-anabasis.git
synced 2025-01-22 19:15:46 +01:00
11 lines
263 B
Bash
11 lines
263 B
Bash
|
while :;do
|
||
|
CHANGED="$(git diff --name-only|sed -e 's/^pages\///'|perl -E 'say join ", ", map {chomp; $_} <>')"
|
||
|
git pull && \
|
||
|
git lfs track pages/*.png && \
|
||
|
git add . && \
|
||
|
git commit -am "Automatic update, changed: ${CHANGED}" && \
|
||
|
git push
|
||
|
|
||
|
sleep 300
|
||
|
done
|