Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.96 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.96 KB

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 }}