yezyilomo / github-auto-deployer

Automated GitHub Deployment using Webhooks
MIT License
3 stars 1 forks source link

Add a feature for sending deployment status notifications. #14

Open yezyilomo opened 4 years ago

yezyilomo commented 4 years ago

It could be through Email.

codsane commented 4 years ago

May add this to my fork soon, in the form of either push notifications or Discord webhooks (as I'm using the project to auto-deploy a Discord bot at the moment).

Discord webhooks aren't the best choice for everyone so I also would love to add something like apprise if it existed in JS. For now I'm thinking Pushover and Discord webhooks.

yezyilomo commented 4 years ago

That would be very cool, apprise looks amazing, they have integrated many services.

codsane commented 4 years ago

Yeah it is a very neat project. I just noticed they have a simple CLI tool included: https://github.com/caronc/apprise#command-line

I think I'll just use that, no need to find a JS replacement then!

yezyilomo commented 4 years ago

Yeah the global config could be done in app.conf and per repo in deployment.yml then use shelljs to execute commands to send notifications. In some ways JS replacement makes sense because to use apprise one would require to install Python on their server, this might be a stopper for some people especially if their projects doesn't require Python because it might seem like it requires a lot of dependencies.