Skip to content

laoergege/sync-to-qiniu-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test

sync-to-qiniu-action

This action can synchronize files in the path you specified to qiniu(KODO), including delete, modify, and move&rename operations.

Pre-requisites

Input

required default description
accessKey true qiniu accessKey
secretKey true qiniu secretKey
bucket true qiniu bucket
zone true bucket zone
path true the path under files you want to upload
token true secrets.GITHUB_TOKEN a token with access to your repository scoped in as a secret
fsizeLimit false 5 * 1024 * 1024 byte maximum upload file size limit(byte)
mimeLimit false File MimeType

Example Usage

in your workflow

# actions/checkout is required before using it
- uses: actions/checkout@v2
      with: 
        token: ${{ secrets.GITHUB_TOKEN }}
- uses: laoergege/sync-to-qiniu-action@v1
      with:
        accessKey: ${{ secrets.accessKey }}
        secretKey: ${{ secrets.secretKey }}
        bucket: ''
        zone: ''
        path: ''
        token: ${{ secrets.GITHUB_TOKEN }}

About

a github action that synchronize your files to qiniu

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published