@treeseed/sdk 0.12.51 → 0.12.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2090,6 +2090,9 @@ function releaseWorkflowForPackage(root, packageName) {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
function productionDeployWorkflowForPackage(root, packageName) {
|
|
2092
2092
|
const adapter = discoverTreeseedPackageAdapters(root).find((entry) => entry.id === packageName || entry.name === packageName);
|
|
2093
|
+
if (adapter?.capabilities.deploy !== true) {
|
|
2094
|
+
return null;
|
|
2095
|
+
}
|
|
2093
2096
|
const repoPath = adapter?.dir;
|
|
2094
2097
|
if (!repoPath || !existsSync(resolve(repoPath, "treeseed.site.yaml"))) {
|
|
2095
2098
|
return null;
|