Is it possible to use seed.run for deploying Serve...
# seed
c
Is it possible to use seed.run for deploying Serverless Components? Since the serverless.yaml and deploy command differ, but I don’t see how those things can be changed in the app.
f
Hey @Chuck Carpenter, Seed currently doesn’t support the NextJS component out of the box, because the deploy command is different are you mentioned.
But you can deploy it in the Post-Deploy Phase and supply a custom deploy command.
c
Copy code
after_deploy:
  - serverless
as simple as that?
f
That works also. You can deploy it in the
after_deploy
hook of another service. I was referring to the Post-Deploy Phase here https://seed.run/docs/adding-a-post-deploy-phase.html
c
other issue is Seed requires service and provider, but that won’t work with components deploy
managed to get it to work with two different serverless.yaml files. POC: https://github.com/shipshapecode/nextjs-serverless
thanks @Frank
f
Ah you are deploying a dummy service, and in
after_deploy
, you are deploying the nextjs component?
c
@Frank yes, that’s exactly it