Skip to content

haloislet/cos-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

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cos action GitHub release (latest by date)

基于 coscmd 的 gitHub action,用来操作腾讯云 cos

使用示例

name: cos upload
on: [push]

jobs:
  cos-action:
    runs-on: ubuntu-latest
    steps:
    - name: upload
      uses: haloislet/cos-action@v2
      with:
        COMMAND: coscmd upload -r ./ /
        SECRET_ID: ${{ secrets.SECRET_ID }}
        SECRET_KEY: ${{ secrets.SECRET_KEY }}
        BUCKET: ${{ secrets.BUCKET }}
        REGION: ${{ secrets.REGION }}