ipfs the app

publishpplugins
filip mertens 2 years ago
parent dded8f5224
commit b74753fc28
  1. 2
      apps/remix-ide/ci/publish_plugin.ts

@ -69,7 +69,7 @@ import IpfsHttpClient from 'ipfs-http-client'
authorization: auth
} })
const { globSource } = IpfsHttpClient
const folder = `apps/${pluginName}`
const folder = `dist/apps/${pluginName}`
const result = await ipfs.add(globSource(folder, { recursive: true}), { pin: true })
const hash = result.cid.toString()

Loading…
Cancel
Save