dns: add dns-as-code files and workflows

This commit is contained in:
2026-04-07 18:47:35 +02:00
parent 1df07766b8
commit 24719c6a70
4 changed files with 563 additions and 0 deletions

21
.github/workflows/dns.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: DNS
on:
push:
branches: [main]
defaults:
run:
working-directory: ./dns
jobs:
update-records:
name: octodns
runs-on: ubuntu-latest
container: octodns/cloudflare:latest
steps:
- uses: actions/checkout@v4
- name: octodns-sync - production
run: octodns-sync --config-file ./config/production.yaml --doit
env:
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}