# Working with Github Deployments API

**URL:** <https://travis-ci.community/t/working-with-github-deployments-api/4296>\
**Category:** Feature Requests\
**Tags:** github, deployment\
**Created:** [July 20, 2019, 7:07pm UTC](https://travis-ci.community/t/working-with-github-deployments-api/4296 "2019-07-20T19:07:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanMikes](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/janmikes/32/2287_2.png) [@JanMikes](https://travis-ci.community/u/JanMikes)\
**Post date:** [July 20, 2019, 7:07pm UTC](https://travis-ci.community/t/working-with-github-deployments-api/4296/1 "2019-07-20T19:07:28Z")

</div>

Hello!

It would be awesome, to be able to create Github Deployment ([https://developer.github.com/v3/repos/deployments/#deployments](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:

 ![27](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/b/ba1792d0c1a131eb8ac2f42b0d99c7c87aeef772.png)
