Skip to content

Commit a2065b2

Browse files
committed
Add dart-sass to path for hugo
1 parent 82bda67 commit a2065b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ jobs:
5050
curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
5151
tar -xf ${DART_SASS_TARBALL} && \
5252
rm ${DART_SASS_TARBALL}
53-
export PATH=$(pwd)/dart-sass:$PATH
5453
5554
- name: Generate config
5655
run: python gen_config.py
5756

5857
- name: Build with Hugo
59-
run: hugo --gc --minify
58+
run: |
59+
export PATH=$(pwd)/dart-sass:$PATH
60+
hugo --gc --minify
6061
6162
- name: Deploy pages
6263
uses: JamesIves/github-pages-deploy-action@releases/v4

0 commit comments

Comments
 (0)