luke.b//blog

< back to logs after before

So it took all day, but I finally have a single command to open Vim, commit the new file to the local repo and push the change to the remote repo. This will trigger a post-receive hook on the server which runs the build.sh script in each project directory where files changed!

CMS over git! :D

This is cool. I want to expand this to my other deployed projects like my personal site which is a React app, and a couple of other React apps that I’ve been hacking on recently.

The API is so simple so I don’t anticipate any major struggles. There’s still a little bit of extra work when it comes to adding new projects though because I’m currently not building project artifacts directly in a directory that is being served by nginx - there’s one level of symlink indirection that isn’t automatic (mostly to be cautious and to avoid exposing something unintentionally).

I definitely want to get to a point where a single git push can deploy an entirely new app though, this would be awesome :)