I tried deploying the payloadcms/nextjs-custom-server template to the cloud, but I'm getting a build error. I understand it's currently supported - is there a trick I'm missing?
#Deploying NextJS custom server template to Cloud
8 messages · Page 1 of 1 (latest)
could you share the error you're getting?
it's failing during the first build, unless I'm missing something I'm not able to see the logs.
I might be setting the wrong environment variables? Also after this process fails, is there a way to re-trigger builds (ie after updating env vars)?
Hey @stark hound - on the page before deployment, did you update the 'Branch to deploy' to master? It is set to main unless you change it - and the default branch for the nextjs-custom-server repo is named master.