Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chf007/aliyun-oss-upload-action
🚀 GitHub Action that upload files to Aliyun OSS.
https://github.com/chf007/aliyun-oss-upload-action
actions aliyun-oss
Last synced: 26 days ago
JSON representation
🚀 GitHub Action that upload files to Aliyun OSS.
- Host: GitHub
- URL: https://github.com/chf007/aliyun-oss-upload-action
- Owner: chf007
- License: mit
- Created: 2024-03-28T08:38:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-28T14:45:43.000Z (8 months ago)
- Last Synced: 2024-05-28T17:55:37.074Z (6 months ago)
- Topics: actions, aliyun-oss
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/aliyun-oss-upload-action
- Size: 650 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aliyun OSS Upload Action
Upload files to aliyun oss.
## Inputs
### `source-dir`
The path of the source dir.
> You do not need to add a slash `/` at the end of the path.
### `dest-dir`
The path of the dest dir.
> You do not need to add a slash `/` at the end of the path.
### `bucket`
**Required** The name of the aliyun oss bucket.
### `region`
**Required** The name of the aliyun oss region.
### `endpoint`
The name of the aliyun oss endpoint.
## Example usage
```yaml
uses: chf007/aliyun-oss-upload-action@main
env:
OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
with:
source-dir: 'dist'
dest-dir: 'apps/app-test/v1'
bucket: 'static'
region: 'oss-cn-shenzhen'
```> Does not support Windows runner