Skip to content

Create DNS Record

Actions
Creates a new CloudFlare DNS record
v1
Latest
Star (7)

Create DNS Record Action for GitHub

Creates a new CloudFlare DNS record.

Usage

name: example
on:
  pull_request:
    type: [opened, reopened]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: kriasoft/create-dns-record@v1
        with:
          type: "CNAME"
          name: "{PR}-review.example.com"
          content: "example.com"
          ttl: 1
          proxied: true
          token: ${{ secrets.CLOUDFLARE_TOKEN }}
          zone: ${{ secrets.CLOUDFLARE_ZONE }}

License

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

Create DNS Record 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 a new CloudFlare DNS record
v1
Latest

Create DNS Record 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.