Skip to content
cloud

GitHub Action

CloudFlare DNSLink

v1.0.1 Latest version

CloudFlare DNSLink

cloud

CloudFlare DNSLink

Creates or updates CloudFlare DNSLink

Installation

Copy and paste the following snippet into your .yml file.

              

- name: CloudFlare DNSLink

uses: XueMoMo/[email protected]

Learn more about this action in XueMoMo/actions-coudflare-dns

Choose a version

Create or update DNSLink Action for GitHub

Creates or update CloudFlare dnslink.

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: XueMoMo/[email protected]
        with:
          name: "review.example.com"
          cid: "Qmaosiodjjkfjaklsjdkjklfjklajskjdklf"
          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.