Created
September 21, 2020 10:11
-
-
Save elalemanyo/d2e6988fa6016974c433bc5e7ef24f29 to your computer and use it in GitHub Desktop.
Deploy to travis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body='{ | |
"request": { | |
"branch":"master" | |
}}' | |
curl -s -X POST \ | |
-H "Content-Type: application/json" \ | |
-H "Accept: application/json" \ | |
-H "Travis-API-Version: 3" \ | |
-H "Authorization: token [travis token]" \ | |
-d "$body" \ | |
https://api.travis-ci.com/repo/[repo url]/requests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment