Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

New docs version #159

Merged
merged 9 commits into from
Sep 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
point again to haystack master
  • Loading branch information
PiffPaffM committed Sep 23, 2021
commit e2f2351866d61eb3b8ac5d65411091d79cd49d92
3 changes: 1 addition & 2 deletions lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export const getDownloadUrl = async ({
const res = await octokit.rest.repos.getContent({
owner: "deepset-ai",
repo: "haystack",
path: `docs${version && version !== "latest" ? `/${version}` : ""}${repoPath}${filename}`,
ref: "docs0100_relaese"
path: `docs${version && version !== "latest" ? `/${version}` : ""}${repoPath}${filename}`
});
if (Array.isArray(res.data)) return;
if (!res.data.download_url) return;
Expand Down