-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for S3 provider instead of github #41
Comments
@dede-plato I have no experience with S3 (and very little with Windows). But to whoever knows how to do it, feel free to post here. |
I did it for macOS, but I would assume, it is the same for Windows. With the {
...
"build": {
...
"publish": [
{
"provider": "s3",
"bucket": "your-bucket-name",
"path": "optional/download/path"
}
],
...
},
...
} Assuming your S3 is public, you can omit the You also have to tune the ACL config on S3, I ended up with this policy file based on this and this comments. {
"Statement": [
{
"Sid": "yourId1",
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation",
"s3:ListBucketMultipartUploads"
],
"Resource": "arn:aws:s3:::your-bucket-name"
},
{
"Sid": "yourId2",
"Effect": "Allow",
"Action": [
"s3:AbortMultipartUpload",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:ListMultipartUploadParts",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::your-bucket-name/optional/download/path/*"
}
],
"Version": "2012-10-17"
} Notes:
I hope this helps others configuring the electron updated with S3. PS: If you have spotted any mistakes/anti-patterns in my config, let me know. Thanks! |
Hi,
I am looking for the example of s3 provider for auto-update.
I've already done s3 publishing. But can't check the update from s3.
Is there any example that I can follow for the window? Thanks.
The text was updated successfully, but these errors were encountered: