https://github.com/smithclay/github-deploytools
Docker image for managing GitHub deployments
https://github.com/smithclay/github-deploytools
Last synced: about 1 year ago
JSON representation
Docker image for managing GitHub deployments
- Host: GitHub
- URL: https://github.com/smithclay/github-deploytools
- Owner: smithclay
- Created: 2021-01-04T21:25:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-07T21:30:14.000Z (over 5 years ago)
- Last Synced: 2025-02-08T16:43:46.308Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### github-deploytools
Docker image for creating GitHub deployments and managing deployment statuses.
```sh
# usage
$ docker run --rm \
-e GITHUB_REPO=smithclay/hipster-shop \
-e GITHUB_TOKEN=foo \
github-deploytools
# create a deploy
$ docker run --rm \
-e LS_SERVICE_NAME=hipster-shop
-e GITHUB_REPO=smithclay/hipster-shop \
-e GITHUB_REF=master \
-e SERVICE_ENV=production \
-e GITHUB_TOKEN=foo \
github-deploytools create
# update a deployment status < id, status >
$ docker run --rm \
-e GITHUB_REPO=smithclay/hipster-shop \
-e GITHUB_TOKEN=foo \
github-deploytools update-status 308437643 success
```