I disable admin updates on production sites, and update Craft and its plugins by updating in the development environment, and then deploying to production using Git.
My basic process starts like this:
- Update Craft/Plugins in the development environment
- Commit updated
composer.json
andcomposer.lock
- On production, pull changes from Git
- Run
composer install
What additional steps are necessary to ensure that the production site is updated correctly?
I'm aware that we still have to run:
./craft project-config/apply
./craft migrate/up
Should we also run these commands?
./craft clear-caches/all
./craft queue/run
Are there any other commands that should be run to help ensure a smooth update? Also, what is the correct order to run them in?
Thanks!