I thought I’d share my github action which deploys this site whenever a push a new file to main. It compiles the site with hugo and the rsyncs across to the server.
This means that my workflow is:
- fire up neovim and write
- commit and push
- sit back and wait for the site to update
The code for the action is below. It requires a couple of secrets to be set up: