Code Monkey home page Code Monkey logo

Comments (7)

peaceiris avatar peaceiris commented on August 19, 2024 1

Turn on extended: true to process SCSS. (Hugo extended version!)

from actions-hugo.

peaceiris avatar peaceiris commented on August 19, 2024 1

BTW, GitHub is down now. Maybe you will get the following issues.

from actions-hugo.

capsulecorplab avatar capsulecorplab commented on August 19, 2024

BTW, GitHub is down now. Maybe you will get the following issues.

Thanks! I'll probably tackle these once the SCSS processing gets resolved.

from actions-hugo.

capsulecorplab avatar capsulecorplab commented on August 19, 2024

Turn on extended: true to process SCSS. (Hugo extended version!)

Just pushed a commit with extended: true. Still running into same issue https://github.com/capsulecorplab/docsy-example/runs/700653318?check_suite_focus=true#step:4:5

from actions-hugo.

peaceiris avatar peaceiris commented on August 19, 2024

I also failed to build your project locally. Your problem is related to the docsy-example or the docsy theme. Please ask them about this issue. Or go to the Hugo forum.

from actions-hugo.

peaceiris avatar peaceiris commented on August 19, 2024

google/docsy-example#60 (comment)

I got it. You need to install the dependencies: autoprefixer and postcss-cli. Please try the following workflow.

name: github pages

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: recursive  # Fetch the Docsy theme
          fetch-depth: 0         # Fetch all history for .GitInfo and .Lastmod

      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: '0.71.1'
          extended: true

      - name: Setup Node
        uses: actions/setup-node@v1
        with:
          node-version: '12.x'

      - name: Cache dependencies
        uses: actions/cache@v1
        with:
          path: ~/.npm
          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-

      - run: npm ci
      - run: hugo --minify

      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

from actions-hugo.

github-actions avatar github-actions commented on August 19, 2024

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

from actions-hugo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.