Created
February 15, 2017 13:48
-
-
Save gionn/2433a0c761ad189663d5d87a0d590182 to your computer and use it in GitHub Desktop.
Script to request a circleci build via $GH_REPO and $CIRCLE_TOKEN environment variables
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
#!/bin/bash -e | |
curl \ | |
--header "Content-Type: application/json" \ | |
--request POST \ | |
https://circleci.com/api/v1.1/project/github/$GH_REPO/tree/master?circle-token=$CIRCLE_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment