Skip to content

Fetch latest Vultr outages data #114156

Fetch latest Vultr outages data

Fetch latest Vultr outages data #114156

Workflow file for this run

name: Fetch latest Vultr outages data
on:
push:
workflow_dispatch:
schedule:
- cron: "1,16,31,46 * * * *"
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Fetches repo
uses: actions/checkout@v2
- name: Get and format api
run: |-
curl https://status.vultr.com/status.json | jq . > vultr_outages.json
- name: Get and format api
run: |-
curl https://status.vultr.com/alerts.json | jq . > vultr_alerts.json
- name: Add results to repo
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add -A *.json
timestamp=$(date -u -Is)
git commit -m "Update data on ${timestamp}" || exit 0
git push