Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks-db-post-import.sh should also run cim and in case of drush 12 - 'deploy' command? #16

Open
hkirsman opened this issue Mar 19, 2024 · 1 comment

Comments

@hkirsman
Copy link
Collaborator

hkirsman commented Mar 19, 2024

You probably have some differences in the db that you're importing. Why do the import and then manually run the config import?

This should be changed from:

cd $DDEV_COMPOSER_ROOT && drush cache:rebuild -y && drush @local user:login

to

cd $DDEV_COMPOSER_ROOT && drush deploy && drush @local user:login

Or I guess there should be some drush version check before doing that. If it's 11 or older, let's add cim somewhere near the cr

The original code for this was taken from https://github.com/wunderio/drupal-project/blob/main/.lando.yml#L154

@hkirsman
Copy link
Collaborator Author

@tormi what do you think?

@hkirsman hkirsman changed the title hooks-db-post-import.sh should also run cim and in case of drush 12 deploy? hooks-db-post-import.sh should also run cim and in case of drush 12 - 'deploy'? Mar 19, 2024
@hkirsman hkirsman changed the title hooks-db-post-import.sh should also run cim and in case of drush 12 - 'deploy'? hooks-db-post-import.sh should also run cim and in case of drush 12 - 'deploy' command? Mar 19, 2024
hkirsman added a commit that referenced this issue Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant