Skip to content

625dennis/buildpack-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

A simple buildpack that simply curls a URL defined in BUILDPACK_WEBHOOK_URL.

Useful for Gigalixir or Heroku if you want to notify some other service about each deploy.

To add this buildpack to Gigalixir, you need a .buildpacks file. For example, if you are using mix

https://github.com/gigalixir/gigalixir-buildpack-clean-cache.git
https://github.com/HashNuke/heroku-buildpack-elixir
https://github.com/gjaldon/heroku-buildpack-phoenix-static
https://github.com/gigalixir/gigalixir-buildpack-mix.git
https://github.com/jesseshieh/buildpack-webhook.git

Then set the url to curl, for example

gigalixir config:set -a $APP_NAME BUILDPACK_WEBHOOK_URL="https://www.google.com"

If you need to customize the curl command or need extra information like the current sha, feel free to send over a pull request and/or fork this and add your fork to your .buildpacks file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%