I’m standardizing all my side projects to deploy via kamal, even ones not running Rails.
Quick tip, make sure you have a reasonable health check in place. By default, Kamal will try to hit /up
. My Hugo site does not have that so the deploy.yml
needs to be updated:
proxy:
ssl: true
hosts:
- jbennett.me
- www.jbennett.me
healthcheck:
path: /
This looks for the site root to be accessible which is enough.