mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-30 18:14:51 +00:00
add test cases
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user