question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] Is it possible to use custom url with S3 publish?

See original GitHub issue

We are using the electron-publisher-s3 with the electron-builder publish setting being set to our S3 bucket. This works great but it uses our S3 url to check for updates and download them. We keep a lot of our endpoints behind a CDN to enable caching and speed up download delivery to our users and we would like to use this for our updates as well.

Is it possible to configure the electron-builder publish settings to continue publishing to S3 but to use a custom base url instead of the S3 default one for both update checking and downloading?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
develarcommented, Apr 13, 2017

You can define multiple publish configs. First will be used by updater. So, define first as generic and specify your CDN url, and second your s3.

Publish is not performed for generic.

I will document it soon.

0reactions
mzmiric5commented, Apr 29, 2017

looks like when I remove the generic provider, the latest.yml does end up getting uploaded to S3.

Seems like combining generic and s3 provider causes a lot of issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring a static website using a custom domain registered ...
Walk through a code example of how to set up a static website in Amazon S3 using a custom domain that is registered...
Read more >
Can we generate a custom URL to access the s3 bucket ...
Hi, Yes, there is a way to do that by using the Pre-Signed URL.(https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html) you can also ...
Read more >
Custom url of static website hosted on aws s3 bucket
1 Answer 1 · 1) buy your domain, example.com · 2) go to the Amazon S3 console and create a bucket named example.com...
Read more >
How to get a custom Amazon s3 url? - Server Fault
Yes, you can point a CNAME at your S3 bucket Firstly, you need to name the S3 bucket after the hostname you wish...
Read more >
Deploy React App to S3 with Custom Domain - YouTube
Learn how to deploy a react app, or any static website, to an s3 bucket with a custom domain name.Chapters:0:00​ Intro0:46 Building the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found