kriasoft / create-dns-record

Create DNS Record Action for GitHub

Home Page:https://github.com/marketplace/actions/create-dns-record

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Create DNS Record Action for GitHub

https://github.com/marketplace/actions/create-dns-record

License:MIT License


Languages

Language:JavaScript 100.0%