{"id":15854401,"url":"https://github.com/afeiship/action-deploy2cos","last_synced_at":"2026-05-07T01:39:38.511Z","repository":{"id":96087712,"uuid":"171119044","full_name":"afeiship/action-deploy2cos","owner":"afeiship","description":"Github action for deploy to tencent cos.","archived":false,"fork":false,"pushed_at":"2023-08-16T01:16:42.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-22T22:09:45.800Z","etag":null,"topics":["action","cloud","cos","deploy","github","tencent","tx"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2019-02-17T12:23:31.000Z","updated_at":"2023-08-04T02:41:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"361c6ab4-38cc-48d1-9277-b681be1d7082","html_url":"https://github.com/afeiship/action-deploy2cos","commit_stats":null,"previous_names":["afeiship/action-deploy2cos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/action-deploy2cos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Faction-deploy2cos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Faction-deploy2cos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Faction-deploy2cos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Faction-deploy2cos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/action-deploy2cos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Faction-deploy2cos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259293149,"owners_count":22835545,"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":["action","cloud","cos","deploy","github","tencent","tx"],"created_at":"2024-10-05T19:41:45.710Z","updated_at":"2026-05-07T01:39:33.493Z","avatar_url":"https://github.com/afeiship.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-deploy2cos\n\u003e A composite steps for deploy frontend filesto cos.\n\n## usage\n1. set secret `gh secret set -f ~/.aliyun/.env.kubebio`\n2. use below workflow\n```yml\nname: deploy2cos workflow\non:\n  push:\n    branches: master\n\njobs:\n  Release:\n    name: Release\n    runs-on: ubuntu-latest\n    env:\n      COS_YML: ${{ secrets.COS_YML }}\n\n\n    if: contains(github.event.head_commit.message, '__@production__')\n    steps:\n      - name: All in one\n        uses: afeiship/action-deploy2cos@master\n        with:\n          build_dist: \"build\"\n          oss_bucket: cos://your-cos/test/\n\n      - name: Debug\n        run: |\n          printenv\n```\n\n## for multiple envs\n\n```yml\nname: moban-admin workflow for AliyunOSS\non: [push]\njobs:\n  beta:\n    runs-on: ubuntu-latest\n    env:\n      COS_YML: ${{ secrets.COS_YML }}\n\n    if: contains(github.event.head_commit.message, '__@beta__')\n    steps:\n      - name: All in one for beta\n        uses: afeiship/action-deploy2cos@master\n        with:\n          build_dist: \"dist\"\n          oss_bucket: cos://your-cos/beta/\n\n  production:\n    runs-on: ubuntu-latest\n    env:\n      COS_YML: ${{ secrets.COS_YML }}\n\n    if: contains(github.event.head_commit.message, '__@production__')\n    steps:\n      - name: All in one for production\n        uses: afeiship/action-deploy2cos@master\n        with:\n          build_dist: \"dist\"\n          oss_bucket: cos://your-cos/production/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Faction-deploy2cos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Faction-deploy2cos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Faction-deploy2cos/lists"}