mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 08:06:09 +00:00
catch configure-pages error
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -14842,8 +14842,7 @@ async function setPagesPath({staticSiteGenerator, path}) {
|
||||
configParser.parse()
|
||||
|
||||
} catch (error) {
|
||||
core.error('Set pages path in the static site generator config failed', error)
|
||||
throw error
|
||||
core.warning(`We were unable to determine how to inject the site metadata into your config. Generated URLs may be incorrect. The base URL for this site should be ${path}. Please ensure your framework is configured to generate relative links appropriately.`, error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -39,8 +39,7 @@ async function setPagesPath({staticSiteGenerator, path}) {
|
||||
configParser.parse()
|
||||
|
||||
} catch (error) {
|
||||
core.error('Set pages path in the static site generator config failed', error)
|
||||
throw error
|
||||
core.warning(`We were unable to determine how to inject the site metadata into your config. Generated URLs may be incorrect. The base URL for this site should be ${path}. Please ensure your framework is configured to generate relative links appropriately.`, error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user