From 00164bbb3c37ebed56e709a0d9b3b18ffeb0ee1c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 4 Oct 2019 08:27:01 +0100 Subject: [PATCH] Update build command --- netlify.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 2fc6fca2..1d115f28 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,10 +1,9 @@ [build] command = """ -composer test \ - && composer prod \ - && npm run lint --fix-dry-run \ - && npm run prod \ - && cp -R source/dist output_prod +composer test && \ + npm run lint --fix-dry-run && \ + npm run build && \ + composer build """ publish = "output_prod" environment = { PHP_VERSION = "7.2", YARN_VERSION = "1.13.0" }