Skip to content

Instantly share code, notes, and snippets.

@edwindotcom
Created August 14, 2020 20:25
Show Gist options
  • Save edwindotcom/93985016fcd9ee5a0dee64b63358968c to your computer and use it in GitHub Desktop.
Save edwindotcom/93985016fcd9ee5a0dee64b63358968c to your computer and use it in GitHub Desktop.
curl \
-H "Authorization: token TOKEN" \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/github/service-catalog-demo/deployments \
-d '{"ref":"master", "environment":"amy-dev-svr"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment