Skip to content

linrongda/deploy-certificate-to-tencent-cloud

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

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action — Deploy SSL certificate to Tencent Cloud

Usage

jobs:
  deploy-to-tencent-cloud:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          # If you just commited and pushed your newly issued certificate to this repo in a previous job,
          # use `ref` to make sure checking out the newest commit in this job
          ref: ${{ github.ref }}

      - name: Deploy cert to Tencent Cloud
        uses: linrongda/deploy-certificate-to-tencent-cloud@v1
        with:
          secret-id: ${{ secrets.TENCENTCLOUD_SECRET_ID }}
          secret-key: ${{ secrets.TENCENTCLOUD_SECRET_KEY }}
          fullchain-file: ${{ env.FILE_FULLCHAIN }}
          key-file: ${{ env.FILE_KEY }}
          # each domain represent an old certificate
          cdn-domains: |
            cdn1.example.com
            cdn2.example.com

Permissions

Ensure the API credentials have permissions for:

  • QcloudSSLFullAccess
  • QcloudCDNFullAccess

About

support edgeone and tencent cdn

Resources

Stars

Watchers

Forks

Packages

No packages published