Comments (7)
Turn on extended: true
to process SCSS. (Hugo extended version!)
from actions-hugo.
BTW, GitHub is down now. Maybe you will get the following issues.
- Github token results in Permission denied to github-actions · Issue #319 · peaceiris/actions-gh-pages
- repository not found · Issue #254 · actions/checkout
from actions-hugo.
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.
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.
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.
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.
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)
- support: postcss not work correctly
- proposal: Update the README actions to use the latest version. Right now it's set to an older version. HOT 2
- support: Hugo version v0.102.0+ on macos support HOT 3
- support: Action failing on v0.103.0+ due to archive name standardization HOT 3
- support: Build folder HOT 2
- support: Unexpected warning about the used NodeJS version HOT 10
- support: How to use the GitHub's encrypted secrets ? HOT 2
- support: fail to deploy the site to github page
- proposal: Add support for timezone HOT 1
- support: Custom Domain Support HOT 3
- support: failure to build hugo HOT 2
- proposal: require extended hugo in documentation
- proposal: set-output is deprecated. Replace in docs with latest usage HOT 2
- support: Fails to download Hugo on Windows runners HOT 2
- I am using the latest version of this action.
- support: Setting actions go version HOT 1
- proposal: update node to a more recent version HOT 9
- Action runs are failing with all versions after v2.6.0 HOT 4
- support: the default cachedir seems incorrect without `actions/setup-go` step
- support: Node.js 16 actions are deprecated HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actions-hugo.