staylor7 / rare-diseases

Catalog of Rare Diseases
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Setup CI/CD #13

Open quinnouyang opened 8 months ago

quinnouyang commented 8 months ago

I now remember why I gave up deploying a JS web-app via CPanel: it doesn't (easily) support running a server, instead only serving static files.

I'll look for workarounds...

quinnouyang commented 7 months ago

@staylor7 FYI for true CI/CD (automatic updates to staging and prod from commits to main), the owner of this repo (you!) needs to connect it to a hosting provider. CPanel is probably possible but it makes my head hurt, so I recommend Cloudflare (as you should have your domain there anyways). Unfortuantely, GitHub doesn't allow free users to grant admin access to collaborators, otherwise I could do this.

In the meantime, I manually push changes to Cloudflare with an arbitrary URL (it's quick).