Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 526 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 526 Bytes

Delete DNS Record Action for GitHub

Deletes CloudFlare DNS record by ID or record name.

Usage

name: example
on:
  pull_request:
    type: [closed]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: expertlead/delete-dns-record@v2.1
        with:
          name: "{PR}-review.example.com"
          token: ${{ secrets.CLOUDFLARE_TOKEN }}
          zone: ${{ secrets.CLOUDFLARE_ZONE }}

License

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