-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnetlify.toml
More file actions
20 lines (19 loc) · 825 Bytes
/
netlify.toml
File metadata and controls
20 lines (19 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# https://docs.netlify.com/configure-builds/file-based-configuration/
[build]
command = '''curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
source "${HOME}/.cargo/env" && \
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba && \
export MAMBA_ROOT_PREFIX="${HOME}/micromamba" && \
eval "$(./bin/micromamba shell hook -s posix)" && \
micromamba create -n datalayer make python=3.11 nodejs=22 -c conda-forge -y && \
micromamba activate datalayer && \
npm cache clean --force && \
npm install && \
pip install .[docs] && \
npm run docs'''
publish = "docs/build"
# Skip Netlify's automatic npm install - use custom build command only
# Setting NPM_FLAGS to just print version skips the install
[build.environment]
NODE_VERSION = "22.21.1"
NPM_FLAGS = "--version"