Pull and Import Configuration to Production
git pull
composer install --no-dev
cd web/
drush cim -y
At this point, you'll see the import failed because the "devel" and "devel_generate" modules don't exist. We don't want them on production, so that part's good. But, when we exported our local config, they were enabled. So our core.extensions file says they should be enabled, but they don't exist. So we need to go back to local to disable them and re-export our config.
Disable Development Modules Before Exporting Locally
drush pm-uninstall -y devel devel_generate
drush cex -y
git commit -am "Uninstalled devel and exported config"
git push
Import Fixed Config on Production
git pull
drush cim -y
drush cr