GitHub Action for Tencent Cloud API 3.0 Command Line Interface
Required Tencent Cloud secret id. Should be referred to a encrypted environment variable.
Required Tencent Cloud secret key. Should be referred to a encrypted environment variable.
Required Tencent Cloud product region.
Required Tencent Cloud CLI commands. Mult commands seperate by &&
.
Optional Data format of command output. Available values are json
, table
, text
. Default is json
.
uses: TencentCloud/cli-action@v1
with:
secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
region: ${{ secrets.TENCENT_PRODUCT_REGION }}
commands: help && version
output_format: json