fix(ci): disable next.js memory workers to prevent drone runner deadline exceeded crashes and suppress payload nodemailer verification spam during static export
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m47s
Build & Deploy / 🏗️ Build (push) Successful in 3m53s
Build & Deploy / 🚀 Deploy (push) Successful in 19s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 12m9s
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m47s
Build & Deploy / 🏗️ Build (push) Successful in 3m53s
Build & Deploy / 🚀 Deploy (push) Successful in 19s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 12m9s
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -15,7 +15,6 @@ const nextConfig = {
|
||||
optimizePackageImports: ['lucide-react', 'framer-motion', '@/components/ui'],
|
||||
cpus: 1,
|
||||
workerThreads: false,
|
||||
memoryBasedWorkersCount: true,
|
||||
},
|
||||
reactStrictMode: false,
|
||||
productionBrowserSourceMaps: false,
|
||||
|
||||
@@ -45,9 +45,7 @@ export default buildConfig({
|
||||
},
|
||||
meta: {
|
||||
titleSuffix: ' – KLZ Cables',
|
||||
icons: [
|
||||
{ rel: 'icon', type: 'image/x-icon', url: '/favicon.ico' },
|
||||
],
|
||||
icons: [{ rel: 'icon', type: 'image/x-icon', url: '/favicon.ico' }],
|
||||
},
|
||||
},
|
||||
localization: {
|
||||
@@ -80,8 +78,10 @@ export default buildConfig({
|
||||
`postgresql://${process.env.PAYLOAD_DB_USER || 'payload'}:${process.env.PAYLOAD_DB_PASSWORD || '120in09oenaoinsd9iaidon'}@127.0.0.1:54322/${process.env.PAYLOAD_DB_NAME || 'payload'}`,
|
||||
},
|
||||
}),
|
||||
email: nodemailerAdapter({
|
||||
defaultFromAddress: process.env.MAIL_FROM?.replace(/.*<|>.*/g, '') || 'postmaster@mg.mintel.me',
|
||||
email: process.env.MAIL_HOST
|
||||
? nodemailerAdapter({
|
||||
defaultFromAddress:
|
||||
process.env.MAIL_FROM?.replace(/.*<|>.*/g, '') || 'postmaster@mg.mintel.me',
|
||||
defaultFromName: process.env.MAIL_FROM?.split('<')[0]?.trim() || 'KLZ Cables',
|
||||
transportOptions: {
|
||||
host: process.env.MAIL_HOST || 'smtp.eu.mailgun.org',
|
||||
@@ -91,7 +91,8 @@ export default buildConfig({
|
||||
pass: process.env.MAIL_PASSWORD,
|
||||
},
|
||||
},
|
||||
}),
|
||||
})
|
||||
: undefined,
|
||||
sharp,
|
||||
plugins: [],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user