Skip to content

Data Archive

Data Archive #50317

Workflow file for this run

name: Data Archive
on:
push:
schedule:
- cron: '37 * * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download recently changed data.
run: |
curl --compressed https://mcbroken2.nyc3.digitaloceanspaces.com/markers.json \
| jq '[ .features[] | select(.properties.last_checked | match("[0-9]+").string | tonumber < 61) ]' > mcbroken.json
- name: Commit data
run: |
git config user.name "Archive"
git config user.email "[email protected]"
git add -A
git commit -m "Archive from $(date -u)" || exit 0
git push