infer site_url and repo_pub_url for GitHub repos