I cloned a multi-dev environment to my local machine and the website is working fine. I have the database, files, and code working on the local machine. The problem I'm encountering is when I make changes to a content type like adding a new field in the blog post or changing the sitename, it's not changing my production site in Pantheon.
Here are the commands I'm running:
In my local machine:
- drush cex - this works
- git add .
- git commit -m "change message"
- git push to my branch not master
- terminus drush myPantheonsitename.multi-devname -- config:import
After running step 5 command in terminal, it's telling me that there are no changes to import. I feel as though export and import are looking at different location. Any idea why this is happening?
I solved the issue by going to settings.php and adding this line of code:
$settings['config_sync_directory'] = 'sites/default/sync';
For some reason, the above code wasn't included in the multi-dev environment I cloned.