Skip to content
cloud

GitHub Action

Cloudflare Web3 Gateway

v1.4 Latest version

Cloudflare Web3 Gateway

cloud

Cloudflare Web3 Gateway

Creates/Updates dnslink for a web3 gateway

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cloudflare Web3 Gateway

uses: abhimarshal1/[email protected]

Learn more about this action in abhimarshal1/cloudflare-web3-gateway

Choose a version

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).