Skip to content

Fetch Records CI

Fetch Records CI #191

Workflow file for this run

name: Fetch Records CI
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
release:
name: Fetch records
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Checkout DNS
uses: actions/checkout@v4
with:
repository: inclusive-design/dns
ref: main
path: dns
token: ${{ secrets.GH_DNS_PAT || github.token }}
- name: Generate Upptime sites
run: python3 scripts/generate-uptime-sites.py --domains-dir dns/domains --upptime-cfg scripts/upptime-cfg.yml --upptimerc-path .upptimerc.yml
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update monitored sites"