Skip to content

InfraWay/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

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete DNS Record Action for GitHub

Removes CloudFlare DNS record by ID or record name.

Usage via Github Actions

name: example
on:
  pull_request:
    type: [closed]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: infraway/[email protected]
        with:
          name: "review.example.com"
          token: ${{ secrets.CLOUDFLARE_TOKEN }}
          zone: ${{ secrets.CLOUDFLARE_ZONE }}

Usage via docker image

docker run -it --rm \
  -e "INPUT_TOKEN=1" \
  -e "INPUT_ZONE=2" \
  -e "INPUT_NAME=review.example.com" \
  infraway/cloudflare-delete-dns-record 

License

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

Packages

No packages published

Languages

  • JavaScript 81.1%
  • Shell 10.1%
  • Dockerfile 8.8%