Get push notifications from Github without checking the Email.
- Create bot in
@BotFather
- Copy
.env.example
to.env
and fill the values. - Create cron job for
pinghub
:
Open edit mode with
crontab -e
Paste the following rule (Run every 5 minutes)
*/5 * * * * /home/pi/pinghub/target/release/pinghub
cargo build --release
rustup target add x86_64-unknown-linux-gnu
brew install SergioBenitez/osxct/x86_64-unknown-linux-gnu
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-unknown-linux-gnu-gcc cargo build --target=x86_64-unknown-linux-gnu --release