deploy
A small rust program for creating GitHub Deployments.
Environment Variables
To run this project, you will need to have the following environment variables set.
-
GITHUB_TOKEN
This personal access token is used to create deployments on any target repositories.
The token requiresrepo:status
andrepo_deployment
access.
Usage
Deploy the main branch of a repo to staging:
$ deploy --ref=main --env=staging keelerm84/deploy
Deploy the main branch of the current repo to staging:
$ deploy --ref=main --env=staging
Deploy the current branch of the current repo to staging:
$ deploy --env=staging
Update the executable from the latest GitHub release:
$ deploy update
License
Acknowledgment
This project is a Rust implementation from an existing go project. You can view the original project here.