Add build script 3

Netlify uses old Python...
This commit is contained in:
Hans5958 2022-04-28 13:23:30 +00:00 committed by GitHub
parent 3e307e058c
commit bedecba06f

View file

@ -1,3 +1,4 @@
[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"
command = "FILE=tools/ci/build-prod.sh; rm -rf dist/; if [ -f $FILE ]; then bash $FILE; else cp -r web/ dist/; fi"
enviroment = { PYTHON_VERSION = "3.10" }