Commit 8ddadfa1 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Merged latest Read the Docs tweaks into support branch

--HG--
branch : heptapod-0-13
......@@ -65,10 +65,16 @@ def execute(push_data)
Rails.logger.info("readthedocs service/integration "\
"notifying push_data branch=#{push_data['ref']} \
url=#{project_url}")
Gitlab::HTTP.post(project_url, body: { branches: branch, token: token },
Gitlab::HTTP.post(project_url,
body: { branches: branch, token: token.strip },
verify: !skip_tls_verification?)
end
# TODO implement proper test method for Heptapod 0.13.2
def can_test?
false
end
def fields
[
{ type: 'text', name: 'project_url',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment