mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-10-15 19:56:15 +00:00
- new saggar.dev zone (apex A -> 82.64.154.58) targeting porkbun - replace '*' zone glob with explicit per-zone targets (cloudflare for vhaudiquet.fr/buildpath.win, porkbun for saggar.dev) - CI: switch to octodns/octodns image + install cloudflare/porkbun provider modules
26 lines
647 B
YAML
26 lines
647 B
YAML
name: DNS
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./dns
|
|
|
|
jobs:
|
|
update-records:
|
|
name: octodns
|
|
runs-on: ubuntu-latest
|
|
container: octodns/octodns:latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install DNS providers
|
|
run: pip install octodns-cloudflare octodns-porkbun
|
|
- name: octodns-sync - production
|
|
run: octodns-sync --config-file ./config/production.yaml --doit
|
|
env:
|
|
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
|
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
|
|
PORKBUN_SECRET_KEY: ${{ secrets.PORKBUN_SECRET_KEY }}
|