oparl: ignore if nothing to commit

This commit is contained in:
Astro 2022-05-29 02:44:09 +02:00
parent 836841cba4
commit f24a079c85

View File

@ -93,19 +93,19 @@ in
scrape scrape
pushd data pushd data
find . -name \*.json -exec git add "{}" + find . -name \*.json -exec git add "{}" +
git commit -m update git commit -m update || true
popd popd
meetings2ics data/meetings/ > data/meetings.ics meetings2ics data/meetings/ > data/meetings.ics
pushd data pushd data
git add meetings.ics git add meetings.ics
git commit -m "update meetings.ics" git commit -m "update meetings.ics" || true
popd popd
files_extract files_extract
pushd data pushd data
find . -name \*.txt -exec git add {} + find . -name \*.txt -exec git add {} +
git commit -m update\ text git commit -m update\ text || true
git push origin master git push origin master
''; '';
}; };