Skip to content

Commit

Permalink
Add dart-sass to path for hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Dec 3, 2023
1 parent 82bda67 commit a2065b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:
curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
tar -xf ${DART_SASS_TARBALL} && \
rm ${DART_SASS_TARBALL}
export PATH=$(pwd)/dart-sass:$PATH
- name: Generate config
run: python gen_config.py

- name: Build with Hugo
run: hugo --gc --minify
run: |
export PATH=$(pwd)/dart-sass:$PATH
hugo --gc --minify
- name: Deploy pages
uses: JamesIves/github-pages-deploy-action@releases/v4
Expand Down

0 comments on commit a2065b2

Please sign in to comment.