Smol webhook
A small rust crate project that is based on the webserver project in the rust book.
This script will listen to the github webhook for a push event. It will check branch and it will execute a script placed near the executable.
Configuration
This application could be configured by using environment variables.
SMOL_WEBHOOK_IPip_addr- IPv4 to listen. default=127.0.0.1SMOL_WEBHOOK_PORTport_number- port to listen. default=7878SMOL_WEBHOOK_BRANCHbranch_name- a branch name that this webhook will watch on. default=masterSMOL_WEBHOOK_SCRIPTscript_path- path of the executable script. default=./test.shSMOL_WEBHOOK_KEYsecret_key- secret key to check in the webhook event. default=""(empty string)