hwkiem / imho

davdiv.vercel.app
3 stars 1 forks source link

CI/CD Github Actions and Deployment Strategy #74

Closed hwkiem closed 2 years ago

hwkiem commented 3 years ago

Larger Discussion

I am putting this here to give us room to record thoughts about deployment strategies. Here is what I had in mind - @miped please let me know what you think...

I think 2 stages from the get-go is a good idea.

  1. Deployments to BETA should be triggered by changes on master
    • Automated unit tests must pass first?
    • I think doing integ tests ON the beta environment makes the most sense?
  2. Deployments to PROD should be manual (through the vercel and heroku consoles)

Frontend (/client package) should deploy to vercel. Backend (/api package) should deploy to heroku with postgres, postgis and redis extensions.