diff --git a/.woodpecker.yml b/.woodpecker.yml index 7eab1d6..6064b0d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,6 +7,8 @@ pipeline: - curl -L --silent --output /usr/local/bin/dnscontrol https://github.com/StackExchange/dnscontrol/releases/download/v3.16.2/dnscontrol-Linux - chmod +x /usr/local/bin/dnscontrol - dnscontrol check + when: + event: pull_request preview: image: debian @@ -17,6 +19,7 @@ pipeline: - printf '{"namecheap":{"TYPE":"NAMECHEAP","apikey":"%s","apiuser":"j33s"}}' "$APIKEY" > creds.json - dnscontrol preview when: + event: push branch: main secrets: [APIKEY] @@ -29,5 +32,6 @@ pipeline: - printf '{"namecheap":{"TYPE":"NAMECHEAP","apikey":"%s","apiuser":"j33s"}}' "$APIKEY" > creds.json - dnscontrol push when: + event: push branch: main secrets: [APIKEY] diff --git a/dnsconfig.js b/dnsconfig.js index c0214a5..cbbc8a8 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -60,7 +60,6 @@ D('cyberia.club', REG_NAMECHEAP, DnsProvider(DNS_NAMECHEAP), CNAME('helloworld', 'pigsy.cyberia.club.'), CNAME('imap', 'domechild.cyberia.club.'), CNAME('smtp', 'domechild.cyberia.club.'), - CNAME('irc', 'basement.cyberia.club.'), CNAME('key1._domainkey', 'key1.nullhex.com.'), CNAME('lists', 'rosewater.cyberia.club.'), CNAME('magnataur', 'basement.cyberia.club.'),