mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-04-14 22:15:02 +00:00
22 lines
432 B
YAML
22 lines
432 B
YAML
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 }}
|