This action can synchronize files in the path you specified to qiniu(KODO), including delete, modify, and move&rename operations.
- To use this action must after the actions/checkout
- Open Qiniu KOBO service
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 |
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 }}