mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 08:06:09 +00:00
Run prepare script
This commit is contained in:
7
dist/index.js
vendored
7
dist/index.js
vendored
@@ -14578,8 +14578,8 @@ class ConfigParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Find the configuration object in an AST.
|
// Find the configuration object in an AST.
|
||||||
// Look for a default export, an export default with idenfitier, a direct module export
|
// Look for a default export, a direct module export or an indirect module
|
||||||
// or an indirect module export (in that order).
|
// export (in that order).
|
||||||
//
|
//
|
||||||
// Return the configuration object or null.
|
// Return the configuration object or null.
|
||||||
findConfigurationObject(ast) {
|
findConfigurationObject(ast) {
|
||||||
@@ -14915,7 +14915,7 @@ function getConfigParserSettings({ staticSiteGenerator, generatorConfigFile, pat
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
configurationFile: './svelte.config.js',
|
configurationFile: generatorConfigFile || './svelte.config.js',
|
||||||
blankConfigurationFile: __nccwpck_require__.ab + "sveltekit.js",
|
blankConfigurationFile: __nccwpck_require__.ab + "sveltekit.js",
|
||||||
properties: {
|
properties: {
|
||||||
// Configure a base path
|
// Configure a base path
|
||||||
@@ -16443,6 +16443,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)
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user