Sign inSign up

infraway/cloudflare-delete-dns-record

By infraway

•Updated over 5 years ago

Image
0

395

infraway/cloudflare-delete-dns-record repository overview

⁠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⁠.

Tag summary

Content type

Image

Digest

Size

29.1 MB

Last updated

over 5 years ago

docker pull infraway/cloudflare-delete-dns-record