deploy 2.0.3

by Serious Business

Manage deployments with the GitHub Deployment API

README

Manage deployments via the GitHub Deployments API. This skill provides commands for launching deployments and retrieving deployment statuses.

After installing deploy, you will need to set up a GitHub Personal Access Token as a secret named GitHubToken for the skill.

Prerequisite

This skill can launch deployments using the GitHub API, but is not a deployment system itself. You still need to set up a third party deployment system to handle the actual deployment. See GitHub's docs on Delivering Deployments for more details.

Getting Started

Set the default repository

Once a secret is set up, it is a good idea to set a default repository for the skill to work in. The default repository is specific to a chat room. You can always override the default by specifying the repository, but that can get tedious.

@abbot deploy repo {owner}/{repo}

For example, if you have a repository at the URL https://github.com/haacked/Encourage, you'd run:

@abbot deploy repo haacked/Encourage

Set deployment targets

The next step is save some deployment targets. These are the environments that your deployment system understands such as prod, stage, whatever.

@abbot deploy status add target stage

Finally deploy something

@abbot deploy main to stage

Run @abbot help deploy to see the full list of command and which commands can retrieve deployment statuses.

Credits

This skill is based on and inspired by the excellent Hubot script: https://github.com/stephenyeargin/hubot-github-deployments.

Log In or Create Account You need an account to install this package with Abbot. Signing in with Slack or Discord will create an account if you don't have one already.

Details

Last updated
Installs
5 total installs
Language
CSharp
License
MIT License