2022-04-28 15:10:22 +02:00
|
|
|
[build]
|
2022-05-04 23:37:47 +02:00
|
|
|
publish = "dist/"
|
|
|
|
command = "FILE=tools/ci/build-prod.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
2024-05-22 00:39:07 +02:00
|
|
|
ignore = "if [${COMMIT_REF} == ${CACHED_COMMIT_REF}]; then false; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF web/ tools/ .parcelrc netlify.toml package-lock.json package.json postcss.config.js; fi"
|
2022-04-28 15:34:03 +02:00
|
|
|
|
|
|
|
[build.environment]
|
2023-07-01 18:53:48 +02:00
|
|
|
PYTHON_VERSION = "3.8"
|
|
|
|
|
|
|
|
[context.deploy-preview]
|
|
|
|
command = "FILE=tools/ci/build-preview.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
2024-05-22 00:39:07 +02:00
|
|
|
ignore = "if [${COMMIT_REF} == ${CACHED_COMMIT_REF}]; then false; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF data/patches/ web/ tools/ .parcelrc netlify.toml package-lock.json package.json postcss.config.js; fi"
|