Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 941 Bytes

nucleus.md

File metadata and controls

30 lines (25 loc) · 941 Bytes

Nucleus

The Nucleus target publishes all your artifacts to an instance of Nucleus Update Server, this update service supports all three platforms. Check out the README at atlassian/nucleus for more information on this project.

Configuration options are documented in PublisherNucleusConfig

{% hint style="warning" %} We recommend you set the token option using an environment variable, don't hard code it into your config {% endhint %}

Usage

{% code title="forge.config.js" %}

module.exports = {
  // ...
  publishers: [
    {
      name: '@electron-forge/publisher-nucleus',
      config: {
        host: 'https://my-nucleus.mysite.com',
        appId: 1,
        channelId: 'abcdefg',
        token: process.env.TOKEN // string
      }
    }
  ]
}

{% endcode %}