A next-gen Slack webhook step for Bitrise.
To use this step in your Bitrise workflow, prefix the step name with a Git URL of this repository:
steps:
- git::[email protected]:netguru/bitrise-step-slack.git@master:
title: slack
inputs:
- webhook_url: https://team.slack.com/...
- channel: "#general"
As bitrise.io doesn't allow to add a custom step using the UI Workflow Editor, use the YAML editor to manually add the step to the workflow. Follow the guide above.
If you want to see a custom bot icon, like on the screenshot above, you need to add a custom :bitrise:
emoji for your Slack team. You can find the default one in resources/icon.png.
We're planning to add support for custom emoji/URL icons for your bot user as soon as possible.
This step requires the following pre-installed dependencies:
- Ruby >= 2.2
The step reads its configuration from environment. Since it uses dotenv
, you can configure your step by duplicating .env.default
file into a .env
file and edit the values in there.
Keep in mind that .env
file is ignored by Git, so you can put sensitive information (such as webhook URL) in there. It will not be committed.
Run your step by executing step.sh
file:
$ ./step.sh
The dependencies are installed automatically when you run step.sh
.
This repository uses git-flow and protects develop
and master
branches from force pushes, which means the whole development process is pull-request-driven.
The standard code review procedures are in place as well (although perhaps it should be done by Ruby developers).
This project is made with <3 by Netguru.
Licensed under the MIT License. See LICENSE.MD for more info.