From 1acc7b897852e63c0c00ef02a8349f2259210b48 Mon Sep 17 00:00:00 2001 From: Joshua Blum Date: Thu, 31 Mar 2022 20:10:00 +0200 Subject: [PATCH] Update README.md (#93) Fixing the example build script for Netlify. Executing the static build command before running npm/yarn breaks the site (no css and js files included) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81f79d9..065a1a5 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Deployments are triggered by committing to Git and pushing to GitHub. - Create a site in your [Netlify](https://netlify.com) account - Link the site to your desired GitHub repository -- Add build command `php please ssg:generate` (if you need to compile css/js, be sure to add that command too. e.g. `php please ssg:generate && npm install && npm run prod`). +- Add build command `php please ssg:generate` (if you need to compile css/js, be sure to add that command too and execute it before generating the static site folder. e.g. `npm install && npm run prod && php please ssg:generate`). - Set publish directory `storage/app/static` After your site has an APP_URL...