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.


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.


// Within the publishers array:
name: '@electron-forge/publisher-s3',
config: {
bucket: 'my-bucket',
public: true
Last modified 1mo ago
Copy link
Edit on GitHub
On this page