Build Site with Git Webhook
This little box has another git for hosting it-self.
To complete automation build and update site, we setup actions for any events updated or commit on my git server above. We use gitea with webhook support and the wonderful webhook.
Then whenever gitea receive push event from git client or direct edit inside gitea, it will fire a GET request to that webhook daemon exposing HTTP endpoint and underneath it will run the hugo build and deploy.
More detail workflow can find at slides.