Skip to content

decooio/cloudflare-dnslink-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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 }}

License

The scripts and documentation in this project are released under the MIT License.

About

Update Cloudflare Dnslink to Website's IPFS CID

Resources

License

Stars

Watchers

Forks

Packages

No packages published