Fetch Records CI #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |