tuanitpro / gitlab-webhook-api-nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitlab Webhook API using NestJS

WebHook for GibLab CI/CD. Should be sending a message to your Telegram bot when Gitlab CI running.

Using NestJS with love.

How to start

  1. Create file .env

    TELEGRAM_TOKEN=

    TELEGRAM_CHATID=

  2. With VScode

    npm install

    npm run start or npm run start:dev

  3. With docker-compose docker-compose up

How to build

docker-compose build or npm run build

Run Production as Docker

docker run -p 3000:3000 -e "TELEGRAM_TOKEN=YOUR_TELEGRAM_TOKEN" -e "TELEGRAM_CHATID=YOUR_TELEGRAM_CHAT_ID" tuanitpro/gitlab_webhook_nestjs

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 78.1%Language:Dockerfile 11.0%Language:JavaScript 10.9%