Home

Awesome

actions-cloudflare-dns

Create and update Cloudlare DNS records

Usage via Github Actions

Add CLOUDFLARE_TOKEN and CLOUDFLARE_ZONE to the repository secrets.

name: example
on:
  pull_request:
    type: [opened, reopened]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: opszero/actions-cloudflare-dns@v3.0.2
        with:
          type: "A"
          name: "review.example.com"
          content: "8.8.8.8"
          ttl: 1
          proxied: true
          token: ${{ secrets.CLOUDFLARE_TOKEN }}
          zone: ${{ secrets.CLOUDFLARE_ZONE }}

Use full qualified domain name to update if it exist

Pro Support

<a href="https://www.opszero.com"><img src="http://assets.opszero.com/images/opszero_11_29_2016.png" width="300px"/></a>

opsZero provides additional support including:

License

The scripts and documentation in this project are released under the MIT License.