Skip to content

wangchaoyi/qcloud-cos-deploy-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qcloud-cos-deploy-action

此仓库的目的是帮助下载腾讯云COS工具coscli,并且生成对应的配置。

更多coscli文档请参考腾讯云官方文档

使用方式:

jobs:
  test_job:
    runs-on: ubuntu-latest
    name: test coscli config
    steps:
      - uses: actions/checkout@v3
      - id: foo
        uses: wangchaoyi/qcloud-cos-deploy-action@main
        with:
          secret_id: ${{ secrets.QCLOUD_COS_SECRET_ID }}
          secret_key: ${{ secrets.QCLOUD_COS_SECRET_KEY }}
          token: ""
          buckets: ${{ secrets.QCLOUD_COS_BUCKETS }}
          region: ap-shanghai
      - run: coscli ls cos://${{ secrets.QCLOUD_COS_BUCKETS }}
        shell: bash

Packages

No packages published