Skip to content

Commit

Permalink
📝 MinIO & OSS(阿里云对象储存)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxiaowei-com-cn committed Jun 4, 2023
1 parent b12e65c commit f722fda
Showing 1 changed file with 30 additions and 13 deletions.
43 changes: 30 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,38 @@
- 仅发布 32 产物,运行 `npm run electron:build:win:ia32:release`
- 仅发布 64 产物,运行 `npm run electron:build:win:x64:release`
- 同时发布 3264 产物,运行 `npm run electron:build:win:release`
```json5
{
"publish": [
- MinIO
```json5
{
"provider": "s3",
"bucket": "electron-tools",
"acl": "public-read",
"path": "/${platform}/${channel}/",
"region": "us-east-1",
"endpoint": "http://192.168.0.29:9000/",
"channel": "latest"
"publish": [
{
"provider": "s3",
"bucket": "electron-tools",
"acl": "public-read",
"path": "/${platform}/${channel}/",
"region": "us-east-1",
"endpoint": "http://192.168.0.29:9000/",
"channel": "latest"
}
]
}
```
- OSS(阿里云对象储存)
- endpoint:阿里云对象储存 OSS 的 endpoint 为上述 MinIO 对象储存的 https://{bucket}.{endpoint}
- bucket:阿里云对象储存 OSS 的 bucket 为上述 MinIO 对象储存 bucket 内部的 path
```json5
{
"publish": [
{
"provider": "s3",
"bucket": "/",
"path": "/${platform}/${channel}/",
"endpoint": "https://public-electron-tools.oss-cn-qingdao.aliyuncs.com",
"channel": "latest"
}
]
}
]
}
```
```

## Init & Configuration

Expand Down

0 comments on commit f722fda

Please sign in to comment.