Skip to content

Commit ae5f7e6

Browse files
fixed issue when searching for folders
1 parent 4139203 commit ae5f7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/dbt-docs-publish-to-repo/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ runs:
9393
cd ..
9494
for folder in ./*/; do
9595
echo "checking folder $folder in file $branches_file_path"
96-
if grep -q $folder $branches_file_path; then
96+
if grep -q "${folder::-1}" $branches_file_path; then
9797
echo "Keeping $folder"
9898
elif [ "$folder" == "./css/" ]; then
9999
echo "Keeping $folder"

0 commit comments

Comments
 (0)