-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use vercel for snapshot / pr previews? #6
Comments
It is also possible using |
Main constraint is being able to deploy multiple branches. Vercel is great, shame it's only frontend. Would work for us though. |
If we can use vm’s then we can setup a dockerized preview https://nebulab.it/blog/preview-your-prs-with-docker/ then we can do frontend and backend |
We can deploy backend too if we make it work serverless. Something like https://www.prisma.io for db connection. Other option can be if we get our api out and add support in desktop. |
Did some in-depth reading. Adapting this looks like a solid bet: https://okteto.com/docs/tutorials/preview-environments/index.html. I'm tempted to suggest setting up a Once the action is run. it'd produce a url like: And delete whatever has been spun up on the close pull request event. |
Should we be able to download existing k8s configs and replace some values (in a pre-action to this)? E.g. Viewer has a manifest already, and we'd be duplicating it entirely with a preview, but presenter does not. Perhaps it's better to just duplicate it for now, since we only have 1 case of this currently. |
There is also an option to use |
Something like this: https://shabad-os-theme-tool-3m9jkes5d.now.sh/
From: https://vercel.com/
The text was updated successfully, but these errors were encountered: