Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.44 KB

README.md

File metadata and controls

58 lines (34 loc) · 1.44 KB

Crust IPFS Upload action

This action upload your website to IPFS through IPFS W3Auth Gateway

Inputs

path

Required Path to directory sent to IPFS

seeds

Required Substrate-based chain secret seeds, which support:

  • Crust: Please go to Crust Apps to get seeds
  • Polkadot: Please go to Polkadot Apps to get seeds
  • Kusama: Please go to Kusama Apps to get seeds
  • More substrate based chains

gateway

Optional, IPFS Public Gateway which support W3Auth, default is https://crustipfs.xyz

params

Optional, IPFS /api/v0/add Arguments

example:

params: pin=true&cid-version=1

Outputs

hash

string, Uploaded IPFS cid hash value.

Example usage

uses: crustio/[email protected]
with:
  path: './build'
  seeds: ${{ secrets.SUBSTRATE_SEEDS }}

Contribution

Feel free to dive in! Open an issue or send a PR.

To contribute to Crust in general, see the Contribution Guide

License

MIT @Crust Network