From 9cbcc575df9beeea86177cdfbc51c19787063b6f Mon Sep 17 00:00:00 2001 From: zugdev Date: Tue, 26 Nov 2024 23:07:09 -0300 Subject: [PATCH] feat: make dir in case of nested file --- .github/workflows/sync-template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync-template.yml b/.github/workflows/sync-template.yml index 07ad860..504874f 100644 --- a/.github/workflows/sync-template.yml +++ b/.github/workflows/sync-template.yml @@ -90,6 +90,7 @@ jobs: file_list+=$'\n'"- \`${file}\` (directory)" elif [[ -e "template-repo/$file" ]]; then echo "Processing file: $file" + mkdir -p "$file" cp -f "template-repo/$file" "$file" file_list+=$'\n'"- \`${file}\`" else