Everything you need to know to get started with SlashDeploy.
SlashDeploy does not really execute deployments on its own. We leverage GitHub Deployment API to let you listen for GitHub deployment events yourself and run deployments on the infrastructure you wish. By decoupling the act of requesting a deployment, and the actual fulfillment, this allows you to have a consistent interface for performing deployments, whether it's a web app, mobile application or 3rd party system.
Additionally, that makes it possible for us not to require access to your servers, nor the source code and play nicely with other CI/CD tooling you might be using, hence, leaving you with full control over your data and infrastructure.
After you've added SlashDeploy to your Slack team, you will be redirected to our GitHub App to grant access to repositories you want to deploy with SlashDeploy. It's important to note, that the app is configured on per-repository basis and we never clone, nor access your source code. We require a number of permissions to be able to receive GitHub Push events, in order to trigger auto-deployments.
SlashDeploy deployment configuration is managed alongside your code. Simply drop a
.slashdeploy.ymlfile under the root for your GitHub repository and SlashDeploy will pick up the changes.
To start off, add this sample configuration file and push it to GitHub:
Feel free to replace required status
checkswith any other services you use in your deployment pipeline. Remove
auto-deployconfiguration, if you want to disable auto-deployments for now. If you're enforcing GitHub Branch protection rules, you should probably use the same set of Require status checks.
You're all set now to run your first
Once SlashDeploy is installed and
.slashdeploy.ymlconfiguration file is in place, you can start operating the
/deploycommand, which brings you the first-hand experience to managing your deployments from Slack.
The first time you run
/deploycommand, you will be asked to authenticate with GitHub, so that SlashDeploy could create deployments on behalf of your GitHub account.
Go ahead, and try deploying one of the repositories you linked earlier, for example:
/deploy acme/api to production
Now that you can request GitHub deployments from Slack, you will need to set up your infrastructure to fulfill them. Although, this process varies greatly from one organization to another and far beyond the scope of this document, we've prepared a collection of resources that demonstrate the usage of SlashDeploy with 3rd party services.