Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ospoon/auto-push-oss
方便将常见的 Vue 项目,VuePress 项目构建到根目录的 dist 文件夹推送到指定从 oss 桶的根目录,特别适合在 oss 托管 VuePress 博客~
https://github.com/ospoon/auto-push-oss
Last synced: 8 days ago
JSON representation
方便将常见的 Vue 项目,VuePress 项目构建到根目录的 dist 文件夹推送到指定从 oss 桶的根目录,特别适合在 oss 托管 VuePress 博客~
- Host: GitHub
- URL: https://github.com/ospoon/auto-push-oss
- Owner: OSpoon
- License: mit
- Created: 2022-09-10T01:44:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T06:50:41.000Z (about 2 years ago)
- Last Synced: 2024-10-17T07:08:09.800Z (29 days ago)
- Language: JavaScript
- Homepage:
- Size: 3.46 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# auto-push-oss
方便将常见的 Vue 项目,VuePress 项目构建到根目录的 dist 文件夹推送到指定从 oss 桶的根目录,特别适合在 oss 托管 VuePress 博客~
## Inputs
|参数|描述|
|----|----|
|`root`|待推送文件夹|
|`bucket`|oss bucket|
|`region`|oss region|
|`accessKeyId`|oss accessKeyId|
|`accessKeySecret`|oss accessKeySecret|## Example usage
```yaml
uses: OSpoon/auto-push-oss@main
with:
root: public
bucket: it200
region: oss-cn-beijing
accessKeyId: ${{secrets.accessKeyId}}
accessKeySecret: ${{secrets.accessKeySecret}}
```