S3
How to publish your distributable Electron app artifacts to Amazon S3
The S3 target publishes all your artifacts to an Amazon S3 bucket.
If you run publish twice with the same version on the same platform, it is possible for your old artifacts to get overwritten in S3. It is your responsibility to ensure that you don't overwrite your own releases.
By default, all files are positioned at the following key: ${config.folder || appVersion}/${artifactName}
Configuration options are documented in PublisherS3Config.

Authentication

It is recommended to follow the Amazon AWS guide and set either a shared credentials guide or the proper environment variables. However, if that is not possible, the publisher config allows the setting of the accessKeyId and secretAccessKey configuration options.

Usage

1
// Within the publishers array:
2
{
3
name: '@electron-forge/publisher-s3',
4
config: {
5
bucket: 'my-bucket',
6
public: true
7
}
8
}
Copied!
Last modified 1mo ago
Copy link