Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

alechartung/delete-dns-record

This branch is 4 commits ahead of, 6 commits behind InfraWay/delete-dns-record:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e8e3a77 · Mar 2, 2021

History

11 Commits
May 28, 2020
May 28, 2020
Apr 5, 2020
May 28, 2020
Aug 27, 2020
May 28, 2020
Mar 2, 2021

Repository files navigation

Delete DNS Record Action for GitHub

Deletes 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/delete-dns-record@v1
        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 80.5%
  • Shell 10.4%
  • Dockerfile 9.1%