Skip to content

Publish a static website to crustwebsites.net public gateway

License

Notifications You must be signed in to change notification settings

XueMoMo/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

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crust IPFS Upload action

Upload your website or content to Crust's public IPFS gateway and pin.

Inputs

path

Required Path to directory sent to IPFS

crust-secret-key

Since we need to make sure the stability of this IPFS Public Gateway, we required a secret key to access this WRITABLE API, you can get secret key by:

  1. Emailing hi@crust.network
  2. Join Crust Discord Channel

Optional, crustwebsites.net gateway secret key.

ipns-key

ipfs key gen :

Optional, default ''

Outputs

hash

string, Uploaded IPFS cid(CIDv0) hash value.

ipns

string, Ipns for latest cid

Example usage

uses: XueMoMo/ipfs-upload-action@v1
with:
  path: 'build'
  crust-secret-key: ${{ secrets.CRUST_SECRET_KEY }}
  ipns-key: 'ipns-for-docs'

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

Languages

  • HTML 57.6%
  • JavaScript 42.4%