diff --git a/Classes/Command/CloneCommandController.php b/Classes/Command/CloneCommandController.php index bf42e7e..119715f 100644 --- a/Classes/Command/CloneCommandController.php +++ b/Classes/Command/CloneCommandController.php @@ -420,9 +420,10 @@ protected function cloneRemoteHost( ##################### # Publish Resources # ##################### - - $this->renderHeadLine('Publish Resources'); - $this->executeLocalFlowCommand('resource:publish'); + if (!($clone['skipResourcePublishStep'] ?? false)) { + $this->renderHeadLine('Publish Resources'); + $this->executeLocalFlowCommand('resource:publish'); + } ############## # Post Clone # diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index 5fdf748..b182e3f 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -33,11 +33,14 @@ Sitegeist: # # # options to adjust the clone process # clone: +# # Optionally skip the publish step +# skipResourcePublishStep: false # database: # # List tables of which only the schema should be cloned without data. This can be used to exclude # # large tables or tables containing confident conten # excludeTableContent: [] # +# # # commands to execute after cloning # postClone: # - './flow help'