mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-10-10 17:02:47 +02:00
CI: builds basel air quality feed
This commit is contained in:
1 parent
22d36d2b25
commit
ff51378489
1 file changed
+17
@@ -127,6 +127,23 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
git commit -m "feeds: places of worship per Religion in Bern update $(date -u +%Y-%m-%d)"
|
git commit -m "feeds: places of worship per Religion in Bern update $(date -u +%Y-%m-%d)"
|
||||||
|
|
||||||
|
- name: Generate feeds for air quality in Basel
|
||||||
|
run: |
|
||||||
|
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ inputs.verbose }}" = "true" ]; then
|
||||||
|
echo "Running in VERBOSE mode"
|
||||||
|
resspublica --gen_baselLuftqualitat --verbose
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
resspublica --gen_baselLuftqualitat
|
||||||
|
fi
|
||||||
|
git add feed/ .cache/ assets/
|
||||||
|
|
||||||
|
if git diff --cached --quiet; then
|
||||||
|
echo "No changes to commit"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
git commit -m "feeds: air quality in Basel update $(date -u +%Y-%m-%d)"
|
||||||
|
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user