@vanhoaltw/buildnotify
v1.0.1
Published
Notify version build to group chat
Downloads
12
Maintainers
Readme
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/buildnotifyAdd 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
