Daily commit alarm pusher to remind you to commit/coding every day
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
functions/push_message
images
.gitignore
README.md
install.sh
project.json

README.md

commit-alarm

You must commit! commit! commit! today.

commit-alarm is daily commit alarm pusher to remind you to commit/coding every day.

It push the alarm message to you if there are no commits today.


Install & Setting the github, slack config

  • Run install.sh

    ./install.sh

    Then, you can setting the github, slack config during install

    Slack incoming webhook : <your DM webhook>
    Github username : <github username>
    Github password : <github password>
    

Setting the aws config

  • Setting the AWS credentials.

    Follow Setting AWS credentials

  • Modify the profile field in project.json

    {
      ...
      "profile": "<your-profile>"
      ...
    }
    

    But, if you want to use default profile, remove the "profile" field

  • Replace role attribute values in project.json, function.json with yours

    • project.json

      {
        ...
        "role": "<your-role-arn-of-lambda>",
        ...
      }
      
    • functions/push_message/function.json

      {
        ...
        "role": "<your-role-arn-of-lambda>",
        ...
      }
      

Deploy & Test

  • Deploy!

    apex deploy
  • You should set trigger for scheduling using AWS CloudWatch on AWS console

  • You can test it with apex

    apex invoke push_message

    push receive

    Oh! I'm going to commit now


Telegram version

MuhunKim/DailyCommit