Skip to content

Commit

Permalink
bug: git-url-parse needs https prefix otherwise it fails to parse. Lo…
Browse files Browse the repository at this point in the history
…vely.

Signed-off-by: blam <ben@blam.sh>
  • Loading branch information
benjdlambert committed Mar 31, 2021
1 parent d53d01d commit 94d393b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -103,7 +103,9 @@ export function createPublishGithubAction(options: {
}

const { token } = await credentialsProvider.getCredentials({
url: `${host}/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}`,
url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent(
repo,
)}`,
});

if (!token) {
Expand Down

0 comments on commit 94d393b

Please sign in to comment.