codeforjapan / hackdays

Next version of Social Hackday website.
hackdays-c4j.vercel.app
6 stars 0 forks source link

Setup preview environment #52

Open halsk opened 2 years ago

halsk commented 2 years ago

Is your feature request related to a problem? Please describe.

It is useful to have a deployment preview for each pull request.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Hal will give permissions to the CfJ Vercel and Supabase account. Let me know if you need it.

NEKOYASAN commented 2 years ago

I'm using this guide to connect to the hackdays project in the production environment for both Production and Preview. https://supabase.com/docs/guides/integrations/vercel

There is no way to connect to multiple projects in this guide, so if I need to change the Supabase project in Preview, I'm going to do it a little differently, but I'd love to hear your thoughts on how to do it!

halsk commented 2 years ago

Is it possible to deploy nextjs instance to Vercel with GitHub Actions for the preview site?