{"id":19065549,"url":"https://github.com/menci/deploy-certificate-to-upyun","last_synced_at":"2025-07-01T00:02:28.092Z","repository":{"id":65158207,"uuid":"417844071","full_name":"Menci/deploy-certificate-to-upyun","owner":"Menci","description":"GitHub Action to Deploy SSL certificate to Upyun CDN or OSS.","archived":false,"fork":false,"pushed_at":"2024-07-15T14:50:52.000Z","size":12,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T00:02:10.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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-16T14:00:10.000Z","updated_at":"2025-02-13T11:09:42.000Z","dependencies_parsed_at":"2025-04-28T11:57:15.512Z","dependency_job_id":null,"html_url":"https://github.com/Menci/deploy-certificate-to-upyun","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"4b2a83be3560915abf42c99d26bc45ef85eb58b1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Menci/deploy-certificate-to-upyun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-upyun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-upyun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-upyun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-upyun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Menci","download_url":"https://codeload.github.com/Menci/deploy-certificate-to-upyun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Menci%2Fdeploy-certificate-to-upyun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262870850,"owners_count":23377309,"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:51:00.495Z","updated_at":"2025-07-01T00:02:27.877Z","avatar_url":"https://github.com/Menci.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for Deploying SSL certificate to Upyun\n\nDeploy SSL certificate to Upyun CDN or OSS.\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 Upyun. Since it uses Upyun's console API, you must use a subaccount (NOT your main account since it requires 2FA) as credential.\n\n```yaml\njobs:\n  deploy-to-upyun:\n    name: Deploy certificate to Upyun\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-v2\n        with:\n          # Subaccount\n          subaccount-username: ${{ secrets.UPYUN_SUBACCOUNT_USERNAME }}\n          subaccount-password: ${{ secrets.UPYUN_SUBACCOUNT_PASSWORD }}\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          # Deploy to CDN or OSS\n          cdn-domains: |\n            cdn1.example.com\n            cdn2.example.com\n            oss1.example.com\n            oss2.example.com\n          \n          # Delete ALL unused certificates after deployment\n          delete-unused-certificates: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenci%2Fdeploy-certificate-to-upyun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmenci%2Fdeploy-certificate-to-upyun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenci%2Fdeploy-certificate-to-upyun/lists"}