Configure call to webhook in Circle CI build

pull/854/head
Aleksandr Sobolev 6 years ago
parent a15ad689c9
commit 9891441826
  1. 6
      .circleci/config.yml

@ -74,6 +74,12 @@ jobs:
# command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi # command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi
# working_directory: /home # working_directory: /home
- run:
name: Call webhook
command: |
curl -I -X POST -H -d "https://circleci.com/api/v1/project/${ORGANIZATION}/${WEBHOOK_PROJECT}/tree/master?circle-token=${CIRCLE_TOKEN}" | head -n 1 | cut -d$' ' -f2
pypi_release: pypi_release:
<<: *defaults <<: *defaults
steps: steps:

Loading…
Cancel
Save