mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-11-22 05:22:45 +00:00
dns: add dns-as-code files and workflows
This commit is contained in:
1 parent
1df07766b8
commit
24719c6a70
4 files changed
+563
No files matched your search
@@ -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 }}
|
||||
Reference in new issue
Block a user