Skip to content

Pinata pin and gateway management

Actions
Manage your pinata pins and default gateway index
v1.2.0
Latest
Star (2)

Pinata Manager

ipfs action

Github action to pin, unpin and update Pinata gateways

The action will automatically update your Pinata's gateway root to be the newly pinned CID.

Inputs

Param Required Description
path Yes Path to file or directory you want to pin
secret Yes Your Pinata secret
key Yes Your Pinata API key
token Yes Your Pinata JWT
pinName Yes Name of the pinned file. Default super cool ipfs pin
unpinOld No Whether or not to unpin an older pin with the same name. Default false
gatewayName Yes The name of your target gateway. Note: This must be setup in your Pinata dashboard before using this action!
gatewayId Yes The Id of your target gateway. Note: You have to extract this from your Pinata dashboard by opening the network monitor and setting any file as gateway root.

Outputs

  • gateway - Returns the new gateway address of a successful pin
  • cid - Returns the CID of the built codebase
  • duplicate - Returns true if the pin was skipped

Pinata pin and gateway management is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Manage your pinata pins and default gateway index
v1.2.0
Latest

Pinata pin and gateway management is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.