Skip to content

woolarinet/TIC

Repository files navigation

Today I Commit Challenge

1일1커밋 챌린지를 위한 알림 봇

update

  • working based on python version: 3.9.0, OS X
  • will be send message to slack channel: #tic-bot-noti

Prerequisite

  • Can generate token here
  • Add token in env file and GITHUB_TOKEN in environment variable
source env

Execute

# (Optinoal) create venv

# install dependencies
pip install -r requirements.txt

# run bot
cd ticbot
python bot.py

Deployment

deploy with AWS Lambda

# set GITHUB_TOKEN to environment variable from .env
source .env

# build and push docker image to ECR
./build.sh

# Deploy new image to lambda in console
  • lambda function si triggerd by cloudwatch schedule with cron(0 14 * * ? *) (UTC)

References

TODO

  • move GITHUB_TOKEN into lambda function
  • edit slack message

About

Today I Commit (1일 1커밋) 챌린지 알림 봇

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published