diff --git a/lib/Enterprise/RepositorySynchronizer.php b/lib/Enterprise/RepositorySynchronizer.php index 9309cd5..4cff0c9 100644 --- a/lib/Enterprise/RepositorySynchronizer.php +++ b/lib/Enterprise/RepositorySynchronizer.php @@ -816,6 +816,9 @@ HCL; ['templates/workflows/shared/branch-freeze.yml.template', "{$wfDir}/branch-freeze.yml"], ['templates/workflows/shared/auto-assign.yml.template', "{$wfDir}/auto-assign.yml"], ['templates/workflows/shared/changelog-validation.yml.template', "{$wfDir}/changelog-validation.yml"], + ['templates/workflows/shared/deploy-rs.yml.template', "{$wfDir}/deploy-rs.yml"], + ['templates/workflows/shared/export-mysql.yml.template', "{$wfDir}/export-mysql.yml"], + ['templates/workflows/shared/pull-from-dev.yml.template', "{$wfDir}/pull-from-dev.yml"], ['.github/workflows/standards-compliance.yml', "{$wfDir}/standards-compliance.yml"], ]; @@ -838,11 +841,14 @@ HCL; $shared[] = ['templates/workflows/dolibarr/auto-release.yml.template', "{$wfDir}/auto-release.yml"]; $shared[] = ['templates/workflows/dolibarr/ci-dolibarr.yml.template', "{$wfDir}/ci-dolibarr.yml"]; } elseif ($platform === 'waas-component' || $platform === 'joomla-template') { + $shared[] = ['templates/workflows/shared/deploy-dev.yml.template', "{$wfDir}/deploy-dev.yml"]; + $shared[] = ['templates/workflows/shared/deploy-demo.yml.template', "{$wfDir}/deploy-demo.yml"]; $shared[] = ['templates/workflows/joomla/auto-release.yml.template', "{$wfDir}/auto-release.yml"]; $shared[] = ['templates/workflows/joomla/update-server.yml.template', "{$wfDir}/update-server.yml"]; $shared[] = ['templates/workflows/joomla/ci-joomla.yml.template', "{$wfDir}/ci-joomla.yml"]; $shared[] = ['templates/workflows/joomla/repo_health.yml.template', "{$wfDir}/repo_health.yml"]; $shared[] = ['templates/workflows/joomla/deploy-manual.yml.template', "{$wfDir}/deploy-manual.yml"]; + $shared[] = ['templates/workflows/joomla/deploy.yml.template', "{$wfDir}/deploy.yml"]; } else { $shared[] = ['templates/workflows/shared/deploy-dev.yml.template', "{$wfDir}/deploy-dev.yml"]; $shared[] = ['templates/workflows/shared/deploy-demo.yml.template', "{$wfDir}/deploy-demo.yml"]; @@ -873,8 +879,7 @@ HCL; // Always create a custom/ subdirectory under the workflow dir with a README // so repos have a safe place for custom workflows that sync won't touch. - $entries = [ - [ + $entries[] = [ 'inline_content' => "# Custom Workflows\n\nPlace repo-specific workflows here.\n\n" . "- **Never overwritten** by MokoStandards bulk sync\n" . "- **Never deleted** by the repository-cleanup workflow\n" @@ -882,7 +887,6 @@ HCL; . "Synced workflows live in the parent `{$wfDir}/` directory.\n", 'destination' => "{$wfDir}/custom/README.md", 'always_overwrite' => false, - ], ]; foreach ($shared as [$source, $dest]) {