add test cases

This commit is contained in:
yimysty
2022-06-17 18:36:26 -07:00
parent 7c74d60067
commit 0af6e78e1a
15 changed files with 193 additions and 58 deletions

View File

@@ -22,7 +22,7 @@ async function getPagesBaseUrl({ repositoryNwo, githubToken, staticSiteGenerator
const siteUrl = new URL(pageObject.html_url)
if ( staticSiteGenerator ) {
setPagesPath({staticSiteGenerator, baseUrl: siteUrl.origin})
setPagesPath({staticSiteGenerator, path: siteUrl.pathname})
}
core.setOutput('base_url', siteUrl.href)