X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fdoc%2Fdoc-post-rtd.sh;h=5c8d8c52f516feac6581b2dde1f72f2248fe62d3;hb=HEAD;hp=78b8d0b56108a9453cf5c6f6863f82c9875d6459;hpb=f4b8562a485df5e5505740b5a4c715e33049d807;p=ci-management.git diff --git a/jjb/doc/doc-post-rtd.sh b/jjb/doc/doc-post-rtd.sh deleted file mode 100644 index 78b8d0b56..000000000 --- a/jjb/doc/doc-post-rtd.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -if [ "$GERRIT_BRANCH" == "master" ]; then - RTD_BUILD_VERSION=latest -else - RTD_BUILD_VERSION="${{GERRIT_BRANCH/\//-}}" -fi - -# shellcheck disable=SC1083 -curl -X POST \ - -d "branches=$RTD_BUILD_VERSION" \ - -d "token=$DOCS_RTD_TOKEN" \ - https://readthedocs.org/api/v2/webhook/{rtdproject}