code: def upload_GitHub_deploy_key(deploy_repo, ssh_key, *, read_only=False,
      title="Doctr deploy key for pushing to gh-pages from Travis", **login_kwargs):
      
      DEPLOY_KEY_URL = "https://api.github.com/repos/{deploy_repo}/keys".format(deploy_repo=deploy_repo)
  
      data = {
          "title": title,
          "key": ssh_key,
          "read_only": read_only,
      }
      return GitHub_post(data, DEPLOY_KEY_URL, **login_kwargs)
docs: Uploads a GitHub deploy key to ``deploy_repo``.
  
      If ``read_only=True``, the deploy_key will not be able to write to the
      repo.