Skip to content

Commit f1767ca

Browse files
committed
ci: update netlify.toml to build with mystmd
Remove Hugo/Dart Sass toolchain (HUGO_VERSION, DART_SASS_VERSION, DART_SASS_URL env vars and the curl/tar/PATH install block). MyST ships pre-built CSS; no Sass compilation step required. Add `pip install mystmd` before `make html-all`. Keep PYTHON_VERSION, publish = "public", and netlify-plugin-checklinks unchanged.
1 parent cda6104 commit f1767ca

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

netlify.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
[build.environment]
22
PYTHON_VERSION = "3.13"
3-
HUGO_VERSION = "0.141.0"
4-
DART_SASS_VERSION = "1.83.4"
5-
DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/"
63

74
[build]
85
base = "/"
96
publish = "public"
10-
command = """\
11-
export DART_SASS_TARBALL="dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
12-
curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
13-
tar -xf ${DART_SASS_TARBALL} && \
14-
rm ${DART_SASS_TARBALL} && \
15-
export PATH=/opt/build/repo/dart-sass:$PATH && \
16-
make html-all \
17-
"""
7+
command = "pip install mystmd && make html-all"
188

199
[[plugins]]
2010
package = "netlify-plugin-checklinks"

0 commit comments

Comments
 (0)