Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 522 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 522 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: kriasoft/delete-dns-record@v1
        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.