Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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