When running deploy static content on my store i always need to add the locale at the end of the command or my store breaks.
bin/magento setup:static-content:deploy en_GB
I was wondering if I am doing anything wrong here and if i can set this so the locale is not required.
Best Answer
The accepted answer doesn't answer OP's question:
There is a way to ensure only used locales are deployed. You can employ GetPageSpeed n98-magerun2 commands for the job, e.g.:
You can save it to a script which is part of your deployment workflow, and then no matter what actual locales are used, only they will be "deployed", without having to hardcode them anywhere.