Skip to content

Commit

Permalink
Remove unsued argument, also include branch name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed May 30, 2019
1 parent b891626 commit db6ba70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -49,7 +49,7 @@ matrix:
# Trigger ReadTheDocs build on docs builder
after_success:
- pip3 install requests
- python3 ./contrib/trigger_rtd_build.py 8284
- python3 ./contrib/trigger_rtd_build.py

install:
- pip install --upgrade "pip==9.0.1"
Expand Down
2 changes: 1 addition & 1 deletion contrib/trigger_rtd_build.py
Expand Up @@ -21,5 +21,5 @@
token = os.environ['RTD_TOKEN']

url = 'https://readthedocs.org/api/v2/webhook/libcloud/87656/'
r = requests.post(url, data={'token': token})
r = requests.post(url, data={'token': token, 'branches': 'trunk'})
print(r.text)

0 comments on commit db6ba70

Please sign in to comment.