Skip to content

Commit 4a9ec88

Browse files
committed
test 3
1 parent a34d57f commit 4a9ec88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/partials-audit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
for FILE in $FILES; do
3434
# Extract product and file name from the path
3535
PRODUCT=$(echo "$FILE" | awk -F'/' '{print $(NF-1)}')
36-
FILENAME=$(basename "$FILE" .mdx)
36+
TEMP_PATH=${FILE#*src/content/partials/}
37+
FILENAME=${TEMP_PATH%.mdx}
3738
3839
# Construct the individual search strings for product and file
3940
SEARCH_PRODUCT="product=\"$PRODUCT\""

0 commit comments

Comments
 (0)