File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 77 },
88 {
99 "name" : " Beacon" ,
10- "path" : " ecosystem/ai-tools/beacon"
10+ "path" : " ecosystem/ai-tools/beacon" ,
11+ "skip" : true
1112 }
1213 ]
1314}
Original file line number Diff line number Diff line change @@ -80,23 +80,26 @@ jobs:
8080
8181 let projectsToDeploy = [];
8282
83+ // Filter out projects with skip: true
84+ const availableProjects = config.projects.filter(p => !p.skip);
85+
8386 // Manual trigger: deploy specific project or all
8487 if (eventName === 'workflow_dispatch') {
8588 if (projectName) {
86- const project = config.projects .find(p => p.name === projectName);
89+ const project = availableProjects .find(p => p.name === projectName);
8790 if (project) {
8891 projectsToDeploy = [project];
8992 } else {
90- projectsToDeploy = config.projects ;
93+ projectsToDeploy = availableProjects ;
9194 }
9295 } else if (forceDeployAll) {
93- projectsToDeploy = config.projects ;
96+ projectsToDeploy = availableProjects ;
9497 } else {
95- projectsToDeploy = config.projects ;
98+ projectsToDeploy = availableProjects ;
9699 }
97100 } else {
98- // For push events, deploy all projects
99- projectsToDeploy = config.projects ;
101+ // For push events, deploy all available projects (excluding skipped ones)
102+ projectsToDeploy = availableProjects ;
100103 }
101104
102105 // Output results
You can’t perform that action at this time.
0 commit comments