You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.
serverless-next.js/packages/serverless-nextjs-component/examples/multiple-instance-environment/ example shows how to deal with multiple environments, but for those of us that commit the .serverless folder to avoid generating a cloudfront distribution on each push, this would be an issue.
Is there any way to tell serverless-nextjs the name of the .serverless folder, so we can commit one for each environment generated instead of maintaining two versions, one on each branch forever?
The text was updated successfully, but these errors were encountered:
This would solve creation of new cloudfront distribution and allow centralized building and deployment for multiple environments without different directories and duplicated serverless.yml files.
Sorry I'm new to serverless-next, trying to evaluate it to see if it will work for us. Does the .serverless file change constantly as you're developing/deploying?
If so, and you keep different .serverless folders for each stage, then it seems like you'd have to manually deploy locally (run serverless) to each stage to make sure that the .serverless file gets updated for that stage.
Well maybe it wouldn't matter as long as you're not creating new resources in AWS.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
serverless-next.js/packages/serverless-nextjs-component/examples/multiple-instance-environment/
example shows how to deal with multiple environments, but for those of us that commit the.serverless
folder to avoid generating a cloudfront distribution on each push, this would be an issue.Is there any way to tell serverless-nextjs the name of the .serverless folder, so we can commit one for each environment generated instead of maintaining two versions, one on each branch forever?
The text was updated successfully, but these errors were encountered: