2 if [ "$GERRIT_BRANCH" == "master" ]; then
3 RTD_BUILD_VERSION=latest
5 RTD_BUILD_VERSION="${{GERRIT_BRANCH/\//-}}"
8 # shellcheck disable=SC1083
10 -d "branches=$RTD_BUILD_VERSION" \
11 -d "token=$DOCS_RTD_TOKEN" \
12 https://readthedocs.org/api/v2/webhook/{rtdproject}