From 98914418267ffde98c4880fec6b2d19da8974a61 Mon Sep 17 00:00:00 2001 From: Aleksandr Sobolev Date: Fri, 28 Dec 2018 23:09:11 +0700 Subject: [PATCH] Configure call to webhook in Circle CI build --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0638f0dd..8b537d6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,12 @@ jobs: # command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi # 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: <<: *defaults steps: