.slashdeploy.yml
The complete reference on the SlashDeploy configuration file.
SlashDeploy configuration is managed through a .slashdeploy.yml
file in the root of your repository. Any change to this file is picked and applied by SlashDeploy automatically, upon a Git push to the respective GitHub repository.
Below is a sample configuration file with all the available configs:
Available configs
Global
Global configuration applied to all SlashDeploy operations and environments.
Config | Description |
| The version of this configuration file. Always set a version to guarantee that your configuration remains functional even with new, possibly, breaking changes. |
| The default environment to use in commands, such as |
| The default Slack channel where to receive deployment notifications. Remember to |
| The array of available deployment environments for this repository. In the example above, there are two named environments |
| The free-form usage text to let your users know of anything special about deploying this repository. For instance, supported deployment tasks, locking conventions, or even deployment/code ownership. You can also use Slack formatting and emojis in here. Users can then read the usage help with |
Environment
Environment-specific configuration.
Config | Description |
| The Slack channel where to receive deployment notifications for this environment. Remember to |
| By default, Slack commands will be "echoed" back to the channel they were issued from. If you want them to be "Only visible to you", set this option to |
| By default, locking and queuing are enabled for all environments. If you want to disable locking, set this option to |
| The default branch to use for |
| A list of environment aliases. In the example above, |
| A list of GitHub required commit status checks to ensure deployments to this environment happen only when all of the listed checks are passing. |
| The auto-deploy The auto-deploy |
| Any additional metadata to pass along to the GitHub deployment creation. It is a JSON text field that will be passed on by GitHub when a deployment event is dispatched to the deployment system. |
Last updated