Skip to content

chf007/aliyun-oss-upload-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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