An open API service indexing awesome lists of open source software.

https://github.com/textileio/cloudflare-update-dnslink

Update Cloudflare DNSLink with IPFS Hash
https://github.com/textileio/cloudflare-update-dnslink

Last synced: 10 months ago
JSON representation

Update Cloudflare DNSLink with IPFS Hash

Awesome Lists containing this project

README

          

# cloudflare-update-dnslink

Allows you to quickly update a Cloudflare DNSLink with a new IPFS CID. This action requires that you have already created a DNS Link record in your Cloudflare DNS settings. Additionally, you will need a Cloudflare Token with sufficient permissions to edit the DNS record.

## Example

```yml
- name: Update DNSLink
env:
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
RECORD_DOMAIN: "textile.io"
RECORD_NAME: "_dnslink.subdomainname"
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
id: dnslink
uses: textileio/cloudflare-update-dnslink@master
with:
cid: ${{ steps.push.outputs.cid }}
```

For a more complete tutorial, see [this blog post](https://blog.textile.io/ethden-using-ci-to-publish-your-webpage-using-ipfs-and-textile-buckets/).