{"id":25738310,"url":"https://github.com/reasonsoftware/action-github-deployment","last_synced_at":"2025-10-15T00:18:17.914Z","repository":{"id":40366847,"uuid":"338794071","full_name":"ReasonSoftware/action-github-deployment","owner":"ReasonSoftware","description":":octocat: A GitHub Action for a creation and status update of a GitHub Deployment during CD flow","archived":false,"fork":false,"pushed_at":"2023-12-18T23:16:52.000Z","size":376,"stargazers_count":7,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-04T03:45:36.548Z","etag":null,"topics":["action","cd","ci","devops","environment","github"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReasonSoftware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2021-02-14T11:52:38.000Z","updated_at":"2023-12-27T01:32:42.000Z","dependencies_parsed_at":"2024-06-19T20:19:20.657Z","dependency_job_id":null,"html_url":"https://github.com/ReasonSoftware/action-github-deployment","commit_stats":{"total_commits":23,"total_committers":5,"mean_commits":4.6,"dds":0.5652173913043479,"last_synced_commit":"b7edd3f2e9f154d94b11bb3e2ba5bd734be794cb"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ReasonSoftware/action-github-deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReasonSoftware%2Faction-github-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReasonSoftware%2Faction-github-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReasonSoftware%2Faction-github-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReasonSoftware%2Faction-github-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReasonSoftware","download_url":"https://codeload.github.com/ReasonSoftware/action-github-deployment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReasonSoftware%2Faction-github-deployment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279031831,"owners_count":26089378,"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-14T02:00:06.444Z","response_time":60,"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":["action","cd","ci","devops","environment","github"],"created_at":"2025-02-26T07:29:56.955Z","updated_at":"2025-10-15T00:18:17.654Z","avatar_url":"https://github.com/ReasonSoftware.png","language":"Go","readme":"# action-github-deployment\n\n[![Release](https://img.shields.io/github/v/release/ReasonSoftware/action-github-deployment)](https://github.com/ReasonSoftware/action-github-deployment/releases/latest)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ReasonSoftware/action-github-deployment)](https://goreportcard.com/report/github.com/ReasonSoftware/action-github-deployment)\n[![Docker Pulls](https://img.shields.io/docker/pulls/reasonsoftware/action-github-deployment)](https://hub.docker.com/r/reasonsoftware/action-github-deployment)\n[![License](https://img.shields.io/github/license/ReasonSoftware/action-github-deployment)](LICENSE.md)\n\nA **GitHub Action** for a creation and status update of a **GitHub Deployment** during CD flow\n\n\u003cimg src=\"docs/activity.png\" height=\"672\"\u003e\n\n## Features\n\n- Easily create GitHub Deployments\n- Update status of an existing deployments\n- Custom GitHub Environments supported\n- Incredibly fast! About 2MB docker image\n\n## Manual\n\nJust to add an action to your CD flow\n\n```yaml\n    - name: Create Deployment\n      uses: docker://reasonsoftware/action-github-deployment:v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n\u003cdetails\u003e\u003csummary\u003e:information_source: Create a deployment and later update its status\u003c/summary\u003e\n\n```yaml\n    - name: Create Deployment\n      id: deployment\n      uses: docker://reasonsoftware/action-github-deployment:v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    \n    [...]\n\n    - name: Update Status\n      uses: docker://reasonsoftware/action-github-deployment:v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        DEPLOYMENT: ${{steps.deployment.outputs.id}}\n        STATUS: success\n```\n\nYou may also update the deployment to either `success` or `failure` in one step by providing an overall status as `FAIL` environmental variable:\n\n```yaml\n    [...]\n\n    - name: Update Status\n      uses: docker://reasonsoftware/action-github-deployment:v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        DEPLOYMENT: ${{steps.deployment.outputs.id}}\n        STATUS: success\n        FAIL: \"${{ failure() }}\"\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003e:information_source: Create a deployment with non-default status\u003c/summary\u003e\n\n```yaml\n    - name: Create Deployment\n      uses: docker://reasonsoftware/action-github-deployment:v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        STATUS: in_progress\n```\n\n\u003c/details\u003e\n\n## Configuration\n\n- `DEPLOYMENT` - existing deployment ID, required when updating status\n- `STATUS` - status of a deployment, must be one of the following: `[ error, failure, inactive, in_progress, queued, pending, success ]`\n- `ENVIRONMENT` - GitHub Environment, default `production`\n- `FAIL`: failure trap which will tweak the status to be **failure** on value `\"true\"`. Used to reduce overal workflow code by configuring one action for both successful or failed deployments with `FAIL: \"${{ failure() }}\"`\n\n## Notes\n\n- This action is automatically built at [**Docker Hub**](https://hub.docker.com/r/reasonsoftware/action-github-deployment), and tagged with `latest / v1 / v1.2 / v1.2.3` allowing to lock against a certain version\n*It's recommended to lock against a major version, for example* `v1`\n- Docker image is published both to [**Docker Hub**](https://hub.docker.com/r/reasonsoftware/action-github-deployment) and [**GitHub Packages**](https://github.com/ReasonSoftware/action-github-deployment/packages). If you don't want to rely on **Docker Hub** but still want to use the dockerized action, you may switch from `uses: docker://reasonsoftware/action-github-deployment:v1` to `uses: docker://docker.pkg.github.com/reasonsoftware/action-github-deployment/action-github-deployment:v1`\n\n## License\n\n[Apache-2.0](LICENSE.md) © 2021 [Reason Cybersecurity Ltd.](https://www.reasonsecurity.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonsoftware%2Faction-github-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freasonsoftware%2Faction-github-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonsoftware%2Faction-github-deployment/lists"}