Remove all obsolete docs jobs
[ci-management.git] / jjb / doc / doc-post-rtd.sh
diff --git a/jjb/doc/doc-post-rtd.sh b/jjb/doc/doc-post-rtd.sh
deleted file mode 100644 (file)
index 78b8d0b..0000000
+++ /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}