Locally i deleted custom block "CTA" from custom blocks and block types. Then i exported configs and created merge request. After merge is accepted, the pipeline runs commands on the dev server. And after drush -y cim command i receive the table which shows what configs were deleted and changed and also the next error:
[error] DrupalCoreConfigConfigImporterException: There were errors validating the config synchronization. Entities exist of type Custom block and Custom block type CTA. These entities need to be deleted before importing. in DrupalCoreConfigConfigImporter->validate() (line 750 of /var/www/html/website/web/core/lib/Drupal/Core/Config/ConfigImporter.php). In ConfigImportCommands.php line 360:
The import failed due to the following reasons:
Entities exist of type Custom block and Custom block type CTA.
These entities need to be deleted before importing.
Can anyone help please.