pull/5370/head
filip mertens 2 years ago
parent 4756145e59
commit a3e70b0aac
  1. 2
      .circleci/config.yml
  2. 2
      apps/remix-ide/ci/publish_plugin.ts

@ -56,7 +56,7 @@ jobs:
type: string
steps:
- checkout
- gh/install
- gh/setup
- restore_cache:
keys:
- v1-deps-{{ checksum "yarn.lock" }}

@ -74,7 +74,7 @@ import * as child_process from 'child_process'
const { globSource } = IpfsHttpClient
const folder = `dist/apps/${pluginName}`
const result = await ipfs.add(globSource(folder, { recursive: true }), { pin: false })
const result = await ipfs.add(globSource(folder, { recursive: true }), { pin: true })
const hash = result.cid.toString()
const url = `https://ipfs-cluster.ethdevops.io/ipfs/${hash}`
plugin[url_field] = url

Loading…
Cancel
Save