dns/.drone.yml
Simon Marsh 9d96f66e4f
Some checks failed
continuous-integration/drone/push Build is failing
kick
2020-09-21 18:48:41 +01:00

27 lines
463 B
YAML

---
kind: pipeline
type: exec
name: dnscontrol
steps:
- name: preview
environment:
PDNS_API_KEY:
from_secret: PDNS_API_KEY
CLOUDFLARE_API_KEY:
from_secret: CLOUDFLARE_API_KEY
commands:
- dnscontrol preview
- name: push
environment:
PDNS_API_KEY:
from_secret: PDNS_API_KEY
CLOUDFLARE_API_KEY:
from_secret: CLOUDFLARE_API_KEY
commands:
- dnscontrol push
when:
event: promote