Skip to content

Publish a static website to crustwebsites.net public gateway

License

Notifications You must be signed in to change notification settings

crustio/ipfs-upload-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Publish a static website to crustwebsites.net public gateway

Resources

License

Stars

Watchers

Forks

Packages

No packages published