diff --git a/README.md b/README.md index b2bc3b4..47f5d63 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,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 and execute it before generating the static site folder. e.g. `npm install && npm run prod && php please ssg:generate`). +- 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 build && php please ssg:generate`). - Set publish directory `storage/app/static` After your site has an APP_URL... diff --git a/config/ssg.php b/config/ssg.php index 16c0328..e3436ab 100644 --- a/config/ssg.php +++ b/config/ssg.php @@ -39,13 +39,11 @@ */ 'copy' => [ - public_path('css') => 'css', - public_path('js') => 'js', + public_path('build') => 'build', ], 'symlinks' => [ - // public_path('css') => 'css', - // public_path('js') => 'js', + // public_path('build') => 'build', ], /*