Running app:config:import after setup:db-data:upgrade doesn't create new websites/stores
I found that the current order of commands during a deploy doesn't (fully) import the configuration properly.
The setup:db-data:upgrade command sets the config_hash in the flag table. This in turns makes the app:config:import think it doesn't need importing. In my case it turns out new website and stores are not created.
Reversing the order of commands helps out but I'm not sure if that has any side effects.
Although the documentation isn't very specific about it, it appears you need to run config import before the setup upgrade steps: https://devdocs.magento.com/guides/v2.4/config-guide/deployment/pipeline/technical-details.html
I will check.