Skip to content
Tool to notify circleci artifact to pull requests and/or slack channel
TypeScript JavaScript HTML
Branch: master
Clone or download
Naturalclar Greenkeeper/@octokit/rest 16.28.7 (#23)
Greenkeeper/@octokit/rest 16.28.7
Latest commit 36bd040 Aug 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci add examples Mar 18, 2019
bin 🐛 fix typo Mar 16, 2019
example chore(package): update klank to version 0.0.5 Jun 1, 2019
src 🎨 separate test files Mar 19, 2019
LICENSE 🍱 add LICENCE Mar 18, 2019 :doc: modify README Jun 1, 2019
package.json fix(package): update @octokit/rest to version 16.28.7 Jul 26, 2019
tsconfig.json 🔥 temporarily remove slack Mar 16, 2019

🛠 Klank

CircleCI Greenkeeper badge npm version

Klank is a tool that will send notification to Pull Requests and Slack channel when a Pull Request is made. It will send the url of the CircleCI artifact.

This repository is inspired by expo-qr-notify by @watanabeyu

It can be used to send a link of latest storybook built in the Pull Request.

📦 Installation

yarn add -D klank

📖 Example

In order to user Klank, you will need to set up a CircleCI project.

In your Project Settings -> Environment Variables, enter your Circle CI API Token as CIRCLE_TOKEN, and Github API Token as GITHUB_TOKEN

In your config.yml for CircleCI, add commands to specify the path that contains the artifact you'd like to notify.

In your package.json, specify the file you'd like to notify

Screenshot 2019-03-18 15 10 34

When you send a Pull Request, the account tied to your GITHUB_TOKEN will send a link of the artifact.

Slack Integration

Klank can also notify your CircleCI artifact to your slack channel!

Create an incoming webhook for your slack channel that you would like to notify.

Add the webhook URL as SLACK_WEBHOOK in your environment variables in CircleCI Project Settings.

Screenshot 2019-03-18 14 55 21

💚 Special Thanks

Special Thanks to @Leko for the original PR notification script.

You can’t perform that action at this time.