mirror of
https://github.com/actions/configure-pages.git
synced 2026-04-04 00:32:22 +00:00
fix next
This commit is contained in:
@@ -13,6 +13,11 @@ function getConfigParserSettings(staticSiteGenerator, path) {
|
||||
blankConfigurationFile: `${__dirname}/blank-configurations/nuxt.js`
|
||||
}
|
||||
case 'next':
|
||||
// Next does not want a trailing slash
|
||||
if (path.endsWith('/')) {
|
||||
path = path.slice(0, -1)
|
||||
}
|
||||
|
||||
return {
|
||||
configurationFile: './next.config.js',
|
||||
propertyName: 'basePath',
|
||||
|
||||
Reference in New Issue
Block a user