mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-13 21:41:54 +01:00
11 lines
765 B
TOML
11 lines
765 B
TOML
[build]
|
|
publish = "dist/"
|
|
command = "FILE=tools/ci/build-prod.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
|
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"
|
|
|
|
[build.environment]
|
|
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"
|
|
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"
|