forked from conda-forge/conda-forge.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
20 lines (18 loc) · 794 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[build]
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "build"
# Default build command.
command = """
curl -L -o miniforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh &&
bash miniforge.sh -bfp ~/miniforge &&
rm -rf miniforge.sh &&
source ~/miniforge/etc/profile.d/conda.sh &&
conda env create -f .ci_scripts/environment.yml &&
conda activate conda-forge-docs &&
./.ci_scripts/update_docs
"""
# We only want to build PR previews.
# Exit code == 0 means that the build is ignored.
ignore = 'test "$PULL_REQUEST" == "false"'