Skip to content

GitHub Action to Deploy SSL certificate to UCloud CDN.

License

Notifications You must be signed in to change notification settings

tls-deploy-actions/ucloud-cdn

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

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for UCloud CDN certificate deployment

Deploy SSL certificate to UCloud CDN.

Usage

If you need to issue SSL certificates automatically, you can use enroll acme.sh action.

This action will deploy your PEM-formatted SSL certificate to CDN.

jobs:
  deploy-to-ucloud-cdn:
    name: Deploy certificate to UCloud CDN
    runs-on: ubuntu-latest
    steps:
      - uses: tls-deploy-actions/ucloud-cdn@v1.01
        with:
          public-key: ${{ secrets.UCLOUD_PUBLIC_KEY }}
          private-key: ${{ secrets.UCLOUD_PRIVATE_KEY }}
          project-id: org-000xhs
          areacode: cn
          fullchain-file: /path-to/fullchain.pem
          key-file: /path-to/key.pem
          cdn-domains-id: |
            ucdn-3oe32hsbf