Correct CSS not being generated when deploying to Github Pages

@Mattt

Your GitHub Pages workflow is missing a step. You need to install Node.js.

I have created a temporary repository for your site:
https://github.com/jmooring/hugo-forum-topic-37593

Here’s the amended workflow:
https://github.com/jmooring/hugo-forum-topic-37593/blob/main/.github/workflows/gh-pages.yml

Note the addition of these sections under steps:

- name: Setup Node.js
  uses: actions/setup-node@v2
  with:
    node-version: '16'
- name: Install Node.js Dependencies
  run: npm install

Do not copy and paste the entire file. Your main branch is master, mine is main.

The live site is here:
https://jmooring.github.io/hugo-forum-topic-37593/

2 Likes