Pinata pin and gateway management
ActionsTags
(2)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.
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. |
gateway
- Returns the new gateway address of a successful pincid
- Returns the CID of the built codebaseduplicate
- 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.