As you may have noticed, I moved this site to new fangled static site generator Eleventy, using the Hylia starter kit as a base.
By default this uses Netlify, but I wasn't interested in the 3rd party CMS bit, so opted for a simple GitHub action for deploying. There's an existing action available for plain Eleventy apps over here. However it doesn't include the sass build part of the Hylia setup that's part of its npm scripts.
A quick bit of hacking about with one of the standard node actions and I built the following action to deploy instead:
name: Hylia Build
- uses: actions/checkout@master
- uses: actions/setup-node@v1
- run: npm install
- run: npm run production
- name: Deploy
Which hopefully is useful to somebody else.
Oh, and you'll need to add a passthrough copy of the CNAME file to the build if you are using a custom domain name. Add the following to your eleventy build:
Add your domain's CNAME file to the main source. Otherwise every time you push it'll get removed from the GitHub pages config of the output.