Tools, Guides

Continuous Integration workflow for your Hyas project

Recently, I set up a Continuous Integration (CI) workflow for Doks. Just thought I’d share my workflow. Use it to test and build your Hyas project 🤖

Continuous Integration workflow for your Hyas project
Continuous Integration workflow for your Hyas project — Rijkswachter WhiteBOT by Studio Hamerhaai

Operating systems

Job runs on: ubuntu-latest, windows-latest, and macos-latest.

Node.js

Node.js versions used: 14.x, and 15.x.

Steps

  1. Install Hugo (using peaceiris/actions-hugo@v2)
  2. Check install Hugo
  3. Install dependencies
  4. Check for linting errors
  5. Delete temporary directories
  6. Build production website

Workflow file

Further reading

Hugo, GitHub, Node.js