🌳
pt0/nextF/deployF/eptNextjsAppF.mts
13export const eptNextjsAppK8sRes = {kind: 'Deployment', apiVersion: 'apps/v1'}
14export const eptNextjsApp = async (appConfig: AppCfg) => {
15 appConfig = defaultAppCfg(appConfig)
17 if (appConfig.importMetaUrl && !isDirectlyRun(appConfig.importMetaUrl)) {
18 return appConfig
19 }
21 ptDeployActionsCtx.enterWith({...ptDeployActionsCtx.getStore(), runtests: baseRuntests, testdeploy: baseTestdeploy, ...dockerActions, zipsecrets, exceptions, checkimghealth})
23 await wrapKubeCoalesce(deployNextApp, appConfig)