Created
October 21, 2017 11:29
-
-
Save oripwk/a9c85660f1c3f51c40a77af94d442461 to your computer and use it in GitHub Desktop.
This file contains 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
# This script allows you to build any CircleCI project without pushing | |
# the whole project to Github with a new config.yml. This is ideal for | |
# trying out different builds without polluting commit history. | |
# | |
# everything is self explanatory, just generate the API token from CircleCI user menu. | |
curl -XPOST --user ${API_TOKEN}:\ | |
--form revision=${GITHUB_COMMIT}\ | |
--form config=@${CONFIG_YML}\ | |
"https://circleci.com/api/v1.1/project/github/${ORG}/${REPO}/tree/${BRANCH}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment