Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 489 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 489 Bytes

cloudflare-web3-gateway

Creates/Updates dnslink for a web3 gateway

Example

- name: Update DNS Link via Cloudflare
  id: cloudflare-dnslink
  uses: abhimarshal1/cloudflare-web3-gateway
  with:
    token: ${{ secrets.CLOUDFLARE_TOKEN }}
    zone: ${{ secrets.CLOUDFLARE_ZONE }}
    hostname: 'ipfs.example.com'
    dnslink: 'ipns/ipns.example.com' # you can also use 'ipfs/Qm....../'

Note: Please make sure the token has all the necessary permissions (Zone DNS and web3).