← Back to context

Comment by WrtCdEvrydy

5 years ago

Since you can do static hosting from a git repo, I wonder if you could directly push your changes to your git repo and have your CI/CD solution just deploy it instead?

There has to be a git.js implementation out there and you could move the DB to it's own repo and create an https access token (for Github)... the issue there is that someone could use that token to commit whatever to your database repo.

Maybe forcing the user to login with GitHub would be an option? And the changes to the database could be modelled as pull requests?