{"id":32465721,"url":"https://github.com/sitkoru/github-deployment-action","last_synced_at":"2025-10-26T13:59:26.235Z","repository":{"id":41967065,"uuid":"452552883","full_name":"sitkoru/github-deployment-action","owner":"sitkoru","description":"Action to manage GitHub Deployments","archived":false,"fork":false,"pushed_at":"2023-09-04T17:18:22.000Z","size":11,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-03-26T16:36:45.502Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sitkoru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-27T05:35:13.000Z","updated_at":"2024-03-26T16:36:45.502Z","dependencies_parsed_at":"2023-01-23T05:46:07.751Z","dependency_job_id":null,"html_url":"https://github.com/sitkoru/github-deployment-action","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/sitkoru/github-deployment-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkoru%2Fgithub-deployment-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkoru%2Fgithub-deployment-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkoru%2Fgithub-deployment-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkoru%2Fgithub-deployment-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitkoru","download_url":"https://codeload.github.com/sitkoru/github-deployment-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkoru%2Fgithub-deployment-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281114804,"owners_count":26446046,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-26T13:59:18.487Z","updated_at":"2025-10-26T13:59:26.227Z","avatar_url":"https://github.com/sitkoru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-deployment-action\n\nAction to manage GitHub Deployments\n\n# Usage\n\n## Create\n\n```yml\nname: Release\n\non:\n  release:\n    types:\n      - released\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Prepare\n        id: prep\n        shell: bash\n        run: |\n          VERSION=${GITHUB_REF#refs/tags/}\n          echo ::set-output name=version::${VERSION}\n      # some build actions\n      - uses: sitkoru/github-deployment-action@v1\n        name: Create GitHub deployment\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          environment: production\n          ref: ${{ github.ref }}\n          version: ${{ steps.prep.outputs.version }}\n```\n\n## Change status\n\n```yml\nname: \"Deploy\"\non:\n  deployment:\n\njobs:\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    steps:\n      # some deploy actions\n\n      - name: Update deployment status (success)\n        if: success()\n        uses: sitkoru/github-deployment-action@v1\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          state: \"success\"\n          deployment_id: ${{ github.event.deployment.id }}\n\n      - name: Update deployment status (failure)\n        if: failure()\n        uses: sitkoru/github-deployment-action@v1\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          state: \"failure\"\n          deployment_id: ${{ github.event.deployment.id }}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitkoru%2Fgithub-deployment-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitkoru%2Fgithub-deployment-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitkoru%2Fgithub-deployment-action/lists"}