Create or update Cloudflare domain's TXT record dnslink value to IPFS hosted website's CID.
Add CLOUDFLARE_TOKEN and CLOUDFLARE_ZONE to the repository secrets.
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 }}
The scripts and documentation in this project are released under the MIT License.