pull/3542/head
filip mertens 2 years ago
parent 963b212205
commit 4febcca4a1
  1. 7
      apps/remix-ide/ci/publish_plugin.sh
  2. 2
      apps/remix-ide/ci/publish_plugin.ts

@ -2,6 +2,13 @@
set -e set -e
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
git config --global user.name "$COMMIT_AUTHOR" git config --global user.name "$COMMIT_AUTHOR"
git config --global user.email "$COMMIT_AUTHOR_EMAIL" git config --global user.email "$COMMIT_AUTHOR_EMAIL"

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

Loading…
Cancel
Save