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
- Host: GitHub
- URL: https://github.com/textileio/cloudflare-update-dnslink
- Owner: textileio
- Created: 2020-02-16T15:59:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T19:04:23.000Z (about 5 years ago)
- Last Synced: 2024-10-28T07:22:14.106Z (almost 2 years ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 16
- Watchers: 4
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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/).