Chain build commands
This commit is contained in:
parent
4102e4dbd0
commit
b7b851bccd
10
netlify.toml
10
netlify.toml
|
@ -1,10 +1,10 @@
|
|||
[build]
|
||||
command = """
|
||||
composer test
|
||||
composer prod
|
||||
yarn lint --fix-dry-run
|
||||
yarn prod
|
||||
cp -R source/dist output_prod
|
||||
composer test \
|
||||
&& composer prod \
|
||||
&& yarn lint --fix-dry-run \
|
||||
&& yarn prod \
|
||||
&& cp -R source/dist output_prod
|
||||
"""
|
||||
publish = "output_prod"
|
||||
environment = { PHP_VERSION = "7.2", YARN_VERSION = "1.13.0" }
|
||||
|
|
Loading…
Reference in a new issue