dnscontrol/.drone.yml
Torma Kristóf 3a83190692
Some checks failed
continuous-integration/drone/push Build is failing
try something
2022-01-08 18:08:32 +01:00

30 lines
598 B
YAML

---
kind: pipeline
type: docker
name: default
environment:
CREDS_JSON:
from_secret: CREDS_JSON
HE_USERNAME:
from_secret: HE_USERNAME
HE_PASSWORD:
from_secret: HE_PASSWORD
HE_TOTPKEY:
from_secret: HE_TOTPKEY
CF_APITOKEN:
from_secret: CF_APITOKEN
CF_ACCOUNTID:
from_secret: CF_ACCOUNTID
steps:
- name: Validate configuration and check changes
image: stackexchange/dnscontrol
commands:
- echo $CREDS_JSON > creds.json
- dnscontrol preview
- name: Push new configuration to providers
image: stackexchange/dnscontrol
commands:
- dnscontrol push