Skip to content

kriasoft/delete-dns-record

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.