Describe the bug
GitHub Actions throws an error when we're adding new domains to our repository. I'm happy to try to fix this, but wanted to make sure this isn't expected behavior before doing so.
To Reproduce
Steps to reproduce the behavior:
- Create a zone file that does not exist previously in your Cloudflare tenant.
- Run the
stackexchange/dnscontrol image in a GitHub workflow with a step for dnscontrol preview (Or use the provided workflow below)
- Notice that it fails
DNS Provider
name: DNS Preview
on:
pull_request:
branches:
- main
paths:
- src/**
- .github/workflows/dnsPreview.yml
jobs:
dns-preview:
runs-on: ["self-hosted", "rhel"]
container:
image: stackexchange/dnscontrol:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check version
run: dnscontrol version
- name: Preview changes
run: dnscontrol preview
working-directory: ${{ github.workspace }}/src
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
Describe the bug
GitHub Actions throws an error when we're adding new domains to our repository. I'm happy to try to fix this, but wanted to make sure this isn't expected behavior before doing so.
To Reproduce
Steps to reproduce the behavior:
stackexchange/dnscontrolimage in a GitHub workflow with a step fordnscontrol preview(Or use the provided workflow below)DNS Provider