# cloudflare-dnslink-action **Repository Path**: decooio/cloudflare-dnslink-action ## Basic Information - **Project Name**: cloudflare-dnslink-action - **Description**: Update Cloudflare Dnslink to Website's IPFS CID - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-08-09 - **Last Updated**: 2021-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Cloudflare IPFS Dnslink Action Create or update Cloudflare domain's TXT record dnslink value to IPFS hosted website's CID. ## 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: decooio/cloudflare-dnslink-action@v1.0.0 with: name: "ipfs.example.com" cid: "QmezqWkdy2tTC6fBrrvgm7dRgQLZPmMQRTuJMaSVZFYUZg" token: ${{ secrets.CLOUDFLARE_TOKEN }} zone: ${{ secrets.CLOUDFLARE_ZONE }} ``` ## License The scripts and documentation in this project are released under the [MIT License](LICENSE).