You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
CloudFlare Create DNS Record
v1.3
Creates a new CloudFlare DNS record.
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 }}
The scripts and documentation in this project are released under the MIT License.