File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 3
3
[build .environment ]
4
4
PYTHON_VERSION = " 3.8" # netlify currently only support 2.7 and 3.8
5
5
HUGO_VERSION = " 0.120.3"
6
+ DART_SASS_VERSION = " 1.69.4"
7
+ DART_SASS_URL = " https://github.com/sass/dart-sass/releases/download/"
8
+
9
+ [build ]
10
+ base = " /"
11
+ publish = " public"
12
+ command = """ \
13
+ export DART_SASS_TARBALL="dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
14
+ curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
15
+ tar -xf ${DART_SASS_TARBALL} && \
16
+ rm ${DART_SASS_TARBALL} && \
17
+ export PATH=/opt/build/repo/dart-sass:$PATH && \
18
+ pip install pyyaml && \
19
+ make html \
20
+ """
6
21
7
22
# Here is another way to define context specific environment variables.
8
23
[context .deploy-preview .environment ]
You can’t perform that action at this time.
0 commit comments