Netlify IPFS deploy

Do you have solution for netlify to do IPFS upload into my own node after build is done?

Uniswap has code to do that with Pinata: interface/release.yaml at main · Uniswap/interface · GitHub
Web3.storage also have an action: GitHub - web3-storage/add-to-web3: ⁂ Github Action to upload your website to web3.storage

To your own node you would need to recreate something similar.

  1. add a way to auth you (a reverse proxy that check Bearer tokens for example).
  2. Upload, probably with auspinner or by doing ipfs dag import (rather the matching API call) on the remote node
2 Likes