Skip to content

EAS Build notifier with support for Telegram, Slack, Discord ad Teams

License

Notifications You must be signed in to change notification settings

meecodebymariomurrent/eas-build-notifier

Repository files navigation

EAS Build Notifier

Can be used to get notifications for the following npm scripts eas-build-post-install and eas-build-pre-upload-artifacts in combination with the Expo EAS build.

If there is an app.json file present then this will also be used to get more information.

Installing

npm install eas-build-notifier --save-dev

Configuration File

The configuration file holds an array of services. Configure only the services you want to use.

{
  "services": [
    {
      "name": "telegram",
      "config": {
        "token": "token",
        "chatID": "chatID"
      }
    },
    {
      "name": "discord",
      "config": {
        "webhookUrl": "url"
      }
    },
    {
      "name": "slack",
      "config": {
        "webhookUrl": "url"
      }
    },
    {
      "name": "teams",
      "config": {
        "webhookUrl": "url"
      }
    }
  ]
}

Telegram Notification Example

Telegram Example

Supported platforms

  • Telegram
  • Slack
  • Discord
  • Teams

Telegram Prerequisites

Retrieve chatId

If you have the HTTP API Token use the following Link to get the chatId: https://codesandbox.io/s/get-telegram-chat-id-q3qkk

Slack

Create a webhook URL

Teams

Create a webhook URL: See Documentation

Example

See example folder.

Roadmap

Add support for the following services

  • Slack
  • Teams
  • Discord
  • Markdown support in addition to HTML support
  • Customizable messages

License

MIT

Releases

No releases published

Packages

No packages published