# actions-coudflare-dns **Repository Path**: Eericxu/actions-coudflare-dns ## Basic Information - **Project Name**: actions-coudflare-dns - **Description**: Create DNS Record Action for GitHub - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-12 - **Last Updated**: 2021-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Create or update DNSLink Action for GitHub Creates or update CloudFlare dnslink. ## Usage via Github Actions Add [CLOUDFLARE_TOKEN](https://developers.cloudflare.com/api/tokens/create) and CLOUDFLARE_ZONE to the [repository secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets). ```yaml name: example on: pull_request: type: [opened, reopened] jobs: build: runs-on: ubuntu-latest steps: - uses: XueMoMo/actions-coudflare-dns@v1.0.1 with: name: "review.example.com" cid: "Qmaosiodjjkfjaklsjdkjklfjklajskjdklf" token: ${{ secrets.CLOUDFLARE_TOKEN }} zone: ${{ secrets.CLOUDFLARE_ZONE }} ``` **Use full qualified domain name to update if it exist** ## License The scripts and documentation in this project are released under the [MIT License](LICENSE).