This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 7a948b15dd13688ccf47c1e21954a4bc0acaa8dc Author: Tomaz Muraus <[email protected]> AuthorDate: Thu May 30 20:55:02 2019 +0200 Add back old webhook since new one doesn't appear to be working. --- contrib/trigger_rtd_build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/trigger_rtd_build.py b/contrib/trigger_rtd_build.py index 03eb334..60ff793 100755 --- a/contrib/trigger_rtd_build.py +++ b/contrib/trigger_rtd_build.py @@ -18,6 +18,12 @@ import os import requests +# Old deprecated API +url = 'https://readthedocs.org/build/8284/' +r = requests.post(url) +print(r.text) + +# New API (which doesn't apear to be working) token = os.environ['RTD_TOKEN'] url = 'https://readthedocs.org/api/v2/webhook/libcloud/87656/'
