Working with Github Deployments API

Hello!

It would be awesome, to be able to create Github Deployment (https://developer.github.com/v3/repos/deployments/#deployments) via Travis somehow.

So far i have ended up doing it manually, with easy curl calls:

  • Create deployment before deploy job
  • Create deployment status on deploy job fail
  • Create deployment status on deploy job success

It results in very nice and clean informations about environments in Github:

Imprint