mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-10-15 19:56:15 +00:00
dns: manage saggar.dev via porkbun provider
- 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
This commit is contained in:
@@ -12,10 +12,14 @@ jobs:
|
|||||||
update-records:
|
update-records:
|
||||||
name: octodns
|
name: octodns
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: octodns/cloudflare:latest
|
container: octodns/octodns:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install DNS providers
|
||||||
|
run: pip install octodns-cloudflare octodns-porkbun
|
||||||
- name: octodns-sync - production
|
- name: octodns-sync - production
|
||||||
run: octodns-sync --config-file ./config/production.yaml --doit
|
run: octodns-sync --config-file ./config/production.yaml --doit
|
||||||
env:
|
env:
|
||||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||||
|
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
|
||||||
|
PORKBUN_SECRET_KEY: ${{ secrets.PORKBUN_SECRET_KEY }}
|
||||||
|
|||||||
@@ -7,10 +7,24 @@ providers:
|
|||||||
cloudflare:
|
cloudflare:
|
||||||
class: octodns_cloudflare.CloudflareProvider
|
class: octodns_cloudflare.CloudflareProvider
|
||||||
token: env/CLOUDFLARE_TOKEN
|
token: env/CLOUDFLARE_TOKEN
|
||||||
|
porkbun:
|
||||||
|
class: octodns_porkbun.PorkbunProvider
|
||||||
|
api_key: env/PORKBUN_API_KEY
|
||||||
|
secret_key: env/PORKBUN_SECRET_KEY
|
||||||
|
|
||||||
zones:
|
zones:
|
||||||
'*':
|
vhaudiquet.fr.:
|
||||||
sources:
|
sources:
|
||||||
- config
|
- config
|
||||||
targets:
|
targets:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
|
buildpath.win.:
|
||||||
|
sources:
|
||||||
|
- config
|
||||||
|
targets:
|
||||||
|
- cloudflare
|
||||||
|
saggar.dev.:
|
||||||
|
sources:
|
||||||
|
- config
|
||||||
|
targets:
|
||||||
|
- porkbun
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
? ''
|
||||||
|
: ttl: 600
|
||||||
|
type: A
|
||||||
|
value: 82.64.154.58
|
||||||
Reference in New Issue
Block a user