diff options
Diffstat (limited to 'jjb/doc/doc-post-rtd.sh')
-rw-r--r-- | jjb/doc/doc-post-rtd.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jjb/doc/doc-post-rtd.sh b/jjb/doc/doc-post-rtd.sh index 5c8d8c52f..78b8d0b56 100644 --- a/jjb/doc/doc-post-rtd.sh +++ b/jjb/doc/doc-post-rtd.sh @@ -6,4 +6,7 @@ else fi # shellcheck disable=SC1083 -curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/{rtdproject} +curl -X POST \ + -d "branches=$RTD_BUILD_VERSION" \ + -d "token=$DOCS_RTD_TOKEN" \ + https://readthedocs.org/api/v2/webhook/{rtdproject} |