Skip to content

CloudFlare DNS Management

Actions
Creates and updates CloudFlare DNS records
v2.2
Latest
Star (6)

Create DNS Record Action for GitHub

Creates a new CloudFlare DNS record.

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: rez0n/create-dns-record@v2.1
        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

License

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

CloudFlare DNS Management is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Creates and updates CloudFlare DNS records
v2.2
Latest

CloudFlare DNS Management is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.