{"id":19065470,"url":"https://github.com/menci/deploy-certificate-to-aliyun","last_synced_at":"2025-04-28T11:28:01.533Z","repository":{"id":65158205,"uuid":"417612009","full_name":"Menci/deploy-certificate-to-aliyun","owner":"Menci","description":"GitHub Action to Deploy SSL certificate to Aliyun Certificates Service (and use in CDN).","archived":false,"fork":false,"pushed_at":"2025-02-25T08:22:02.000Z","size":12,"stargazers_count":18,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T15:17:25.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Menci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-15T19:24:04.000Z","updated_at":"2025-04-03T16:43:36.000Z","dependencies_parsed_at":"2025-02-16T05:22:30.197Z","dependency_job_id":"23c9d0bf-e23e-42e5-adb5-b246ad1e1db7","html_url":"https://github.com/Menci/deploy-certificate-to-aliyun","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"175e8ad5cb9872c6d22bb2a891b42d97e3f71e2f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-aliyun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-aliyun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-aliyun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-aliyun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Menci","download_url":"https://codeload.github.com/Menci/deploy-certificate-to-aliyun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304014,"owners_count":21567791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T00:50:12.067Z","updated_at":"2025-04-28T11:28:01.507Z","avatar_url":"https://github.com/Menci.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for Aliyun certificate deployment\n\nDeploy SSL certificate to Aliyun Certificates Service (and use in CDN).\n\n# Usage\n\n\u003e If you need to issue SSL certificates automatically, you can use [my acme.sh action](https://github.com/marketplace/actions/issue-ssl-certificate).\n\nThis action will deploy your PEM-formatted SSL certificate to Aliyun Certificates Service. And then set to use this certificate in CDN (optional).\n\nAccording to Aliyun API, both Access Keys and STS Token are accepted as credentials.\n\n```yaml\njobs:\n  deploy-to-aliyun:\n    name: Deploy certificate to Aliyun\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out\n        uses: actions/checkout@v2\n        with:\n          # If you just commited and pushed your newly issued certificate to this repo in a previous job,\n          # use `ref` to make sure checking out the newest commit in this job\n          ref: ${{ github.ref }}\n      - uses: Menci/deploy-certificate-to-aliyun@beta-v1\n        with:\n          # Use Access Key\n          access-key-id: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}\n          access-key-secret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}\n          # Or use STS Token\n          # security-token: ${{ secrets.ALIYUN_SECURITY_TOKEN }}\n\n          # Specify PEM fullchain file\n          fullchain-file: ${{ env.FILE_FULLCHAIN }}\n          # Specify PEM private key file\n          key-file: ${{ env.FILE_KEY }}\n\n          # The name in Aliyun Certificates Service\n          # Will replace the old one with the same name\n          certificate-name: My-SSL\n\n          # (Optional) Deploy to CDN\n          cdn-domains: |\n            cdn1.example.com\n            cdn2.example.com\n        \n          # (Optional) API request timeout (unit ms)\n          timeout: 10000\n\n          # (Optional) API request attempt times\n          retry: 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenci%2Fdeploy-certificate-to-aliyun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmenci%2Fdeploy-certificate-to-aliyun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenci%2Fdeploy-certificate-to-aliyun/lists"}