From 952061d6e1dafaf5bb039d28747d9c3a5c031a67 Mon Sep 17 00:00:00 2001 From: Ayush Newatia Date: Tue, 26 Oct 2021 20:59:01 +0100 Subject: [PATCH] Fix netlify config to use native deploy command (#429) --- .../lib/bridgetown-core/configurations/netlify/netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridgetown-core/lib/bridgetown-core/configurations/netlify/netlify.toml b/bridgetown-core/lib/bridgetown-core/configurations/netlify/netlify.toml index eeaa6e8ad..04e9e062c 100644 --- a/bridgetown-core/lib/bridgetown-core/configurations/netlify/netlify.toml +++ b/bridgetown-core/lib/bridgetown-core/configurations/netlify/netlify.toml @@ -1,5 +1,5 @@ [build] - command = "yarn deploy && ./bin/netlify.sh" + command = "bin/bridgetown deploy && bin/netlify.sh" publish = "output" [build.environment] @@ -41,4 +41,4 @@ [[headers]] for = "/*.(png|jpg|js|css|svg|woff|ttf|eot|ico|woff2)" [headers.values] - Cache-Control = "public, max-age=31536000, s-max-age=31536000" \ No newline at end of file + Cache-Control = "public, max-age=31536000, s-max-age=31536000"