workflow should have tests, that job should be executed whenever a commit is made. PR can only me merged if tests are passed.
Pushing to main should run github actions that will deploy to production.
We can use existing auto deploy of render.com too but then we can't do tests. One way can be to just make tests actions that will be run before merging to main. Once the PR is merged to main render.com can take care of it.
expected CI/CD
We can use existing auto deploy of render.com too but then we can't do tests. One way can be to just make tests actions that will be run before merging to main. Once the PR is merged to main render.com can take care of it.