Skip to content

Commit

Permalink
Update README.md (#93)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
joshuablum committed Mar 31, 2022
1 parent 612bb55 commit 1acc7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit 1acc7b8

Please sign in to comment.