Hello there. Is there anybody doing front-end depl...
# seed
a
Hello there. Is there anybody doing front-end deploys from SEED? We have a SPA created with ReactJS.. and now that we have X amount of environments, thanks to seed, we want to have X amount of front-end instances too…. I was thinking to use the SLS finch plugin, due my entire stack is build with SLS. Is somebody else doing something like this? Can you give me recommendations, ideas, something? https://www.serverless.com/blog/deploy-serverless-frontend-with-serverless-finch-plugin
f
Yeah, I’ve seen folks using the finch plugin to deploy. Some ppl also use netlify.
I think the finch plugin doesn’t use the standard
sls deploy
command to deploy. Most ppl deploy it inside the Post-Deploy phase
a
Oh good call.
My problem is that I have 2 repositories… 1 for backend and 1 frontend.
So I would have 2 SEED projects, right?
I mean, 2 different pipelines, etc.
f
Or just 1 pipeline, and in the Post-Deploy phase: manually git clone the frontend-repo > npm install > deploy.
If you end up doing that, here is the doc on setting up the ssh key so you can checkout private repos - https://seed.run/docs/adding-an-organization-ssh-key#check-out-other-repos