https://github.com/expo/expo-postpublish-slack-notify
https://github.com/expo/expo-postpublish-slack-notify
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/expo/expo-postpublish-slack-notify
- Owner: expo
- Created: 2017-05-04T01:04:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T16:37:27.000Z (about 4 years ago)
- Last Synced: 2025-09-29T19:50:05.497Z (10 days ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 32
- Watchers: 3
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# expo-postpublish-slack-notify
Post a notification on Slack whenever your project is published.
Presumably you already know this is happening so it's probably more
useful to non-you people, such as your team or your grandparents.## Installation
1. [Create an incoming webhook](https://api.slack.com/incoming-webhooks) and keep the window open with the URL.
2. `yarn add expo-postpublish-slack-notify` in your project.
3. Add the following to your `app.json` within the "expo" key.```javascript
"hooks": {
"postPublish": [
{
"file": "expo-postpublish-slack-notify",
"config": {
"webhookUrl": "your webhook url here",
"username": "thisIsOptionalAndIsAValidSlackUsername",
"channel": "#channel_other_than_default"
}
}
]
}
```