mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-17 07:22:21 +01:00
Fix deployment after build cache expires
This commit is contained in:
parent
7f17625a6d
commit
55130106a8
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
[build]
|
[build]
|
||||||
publish = "dist/"
|
publish = "dist/"
|
||||||
command = "FILE=tools/ci/build-prod.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
command = "FILE=tools/ci/build-prod.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
||||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF web/ tools/ .parcelrc netlify.toml package-lock.json package.json postcss.config.js"
|
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]
|
[build.environment]
|
||||||
PYTHON_VERSION = "3.8"
|
PYTHON_VERSION = "3.8"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[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"
|
command = "FILE=tools/ci/build-preview.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
|
||||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF data/patches/ web/ tools/ .parcelrc netlify.toml package-lock.json package.json postcss.config.js"
|
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"
|
||||||
|
|
Loading…
Reference in a new issue