@vanhoaltw/buildnotify

1.0.1 • Public • Published

BUILD NOTICE

This project will be notify build result to group chat, you can define you group id in .env by format below:

TELEGRAM_BOT_TOKEN="" # Grab it by bot father in telegram
TELEGRAM_CHAT_ID="" # You can open telegram browser and copy your group id in url

DISCORD_HOOK_URL="" # Grab it at here: https://api.slack.com/apps/[you app id]/incoming-webhooks?

Setup

Install package by below command

yarn add @vanhoaltw/buildnotify
# or npm install @vanhoaltw/buildnotify
# or pnpm install @vanhoaltw/buildnotify

Add this command to your build script

"scripts": {
    "build": "node index.js buildnotify"
}

It should be send build result to your group chat was configured in .env

Package Sidebar

Install

npm i @vanhoaltw/buildnotify

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

6.77 kB

Total Files

14

Last publish

Collaborators

  • vanhoaltw