Export GITHUB_PAGES env variable

This commit is contained in:
AndrewLester
2022-08-10 10:50:10 -04:00
parent 789c331a21
commit adc528a6d8

View File

@@ -18,6 +18,7 @@ async function main() {
setPagesPath({ staticSiteGenerator, generatorConfigFile, path: siteUrl.pathname }) setPagesPath({ staticSiteGenerator, generatorConfigFile, path: siteUrl.pathname })
} }
outputPagesBaseUrl(siteUrl) outputPagesBaseUrl(siteUrl)
core.exportVariable('GITHUB_PAGES', true)
} catch (error) { } catch (error) {
core.setFailed(error) core.setFailed(error)
process.exit(1) process.exit(1)