Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronw-be/build-plugin-rax-oss-deploy
raxjs部署静态页面到OSS插件
https://github.com/aaronw-be/build-plugin-rax-oss-deploy
Last synced: 22 days ago
JSON representation
raxjs部署静态页面到OSS插件
- Host: GitHub
- URL: https://github.com/aaronw-be/build-plugin-rax-oss-deploy
- Owner: AaronW-BE
- License: mit
- Created: 2020-07-01T09:17:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T10:39:54.000Z (about 2 years ago)
- Last Synced: 2024-12-12T13:41:21.527Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.91 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# build-plugin-rax-oss-deploy
This plugin helps you to deploy build resource upload to your OSS automatic, you need a OSS bucket in advance.
Upload target dir is ```/web``` in bucket workspace.You can change the ```root``` option to change default target of uploaded to OSS.
### Install
```
yarn add build-plugin-rax-oss-deploy -D
```
or
```
npm i build-plugin-rax-oss-deploy -D
```### Configuration
Edit ```build.json``` file in project and append configs like below in plugins:
```
[
"build-plugin-rax-oss-deploy",
{
"region": "[oss region]",
"accessKeyId": "[accesskeyId]",
"accessKeySecret": "[accessKeySecret]",
"bucket": "[bucket]",
"root": "web"
}
]
```### Features
* [x] specific a dir in bucket (```root``` option in config)* [ ] version control on OSS workspace