Skip to content

Commit b0df25e

Browse files
(chore): fix plugin definition file selection (#1604)
support both CPD and PD extraction (chore): remove deploy job skip condition Signed-off-by: abhijith-darshan <[email protected]>
1 parent 439658c commit b0df25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-github-pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
mkdir -p ${DESTINATION_DIR}
7474
7575
echo "collecting PluginDefinition descriptions from ${GREENHOUSE_EXTENSIONS_GIT_DIR}"
76-
all_files=$(git -C $GREENHOUSE_EXTENSIONS_GIT_DIR grep --recursive --files-with-matches -e "kind: ClusterPluginDefinition" -- '*plugindefinition.yaml')
76+
all_files=$(git -C "$GREENHOUSE_EXTENSIONS_GIT_DIR" grep -E --recursive --files-with-matches -e "kind: (Cluster)?PluginDefinition" -- '*plugindefinition.yaml')
7777
7878
for f in $all_files; do
7979
d=$(dirname $f)

0 commit comments

Comments
 (0)