Skip to content

Data Archive

Data Archive #31619

Workflow file for this run

name: Data Archive
on:
push:
workflow_dispatch:
schedule:
- cron: '*/30 * * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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 < 180) ]' > mcbroken.json
- name: Commit data
run: |
git config user.name "Rashiq"
git config user.email "[email protected]"
git add -A
git commit -m "Archive from $(date -u)" || exit 0
git push