Importing and Exporting Drupal Configuration

Export the configuration from the Dev site

drush config-split:export

From the root folder of the Drupal project

git add .
git commit
git push

Now ssh to the remote server, cd to your project's production root folder

git pull
drush config-split:import
composer install
drush cr


Add new comment

comment editor

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.