Is there a way to apply project.yaml changes on deployment? Love the new new project config functionality, but if there are changes that need to be synchronised the site essentially goes down until the changes are applied manually.

I wondered if anyone had a simple way to programmatically apply the changes automatically when the site is deployed, via a webhook?
You can create a script to use the craft executable to sync your project config file

./craft project-config/sync