File tree Expand file tree Collapse file tree
tasks/dbt-docs-publish-to-repo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ branch_name=" feature/test"
2+ IFS=' /' read -ra folders <<< " $branch_name"
3+ echo $folders
Original file line number Diff line number Diff line change 8888
8989 cd wwwroot
9090
91- branch_name=$(grep -r "$$ {{ steps.get-branch-name.outputs.branch-name }}$" "$branches_file_path")
92- IFS='/' read -ra folders <<< "${branch_name:9 }"
91+ echo "Branch Name: $ {{ steps.get-branch-name.outputs.branch-name }}"
92+ IFS='/' read -ra folders <<< "${{ steps.get-branch-name.outputs.branch-name } }"
9393
9494 for folder in "${folders[@]}"; do
9595 if test -d $folder; then
@@ -98,12 +98,11 @@ runs:
9898 echo "Directory $folder does not exists ... creating it"
9999 mkdir $folder
100100 fi
101- echo "current: $folder"
102- echo "target: $target_folder"
103- manifest_file_path="../$manifest_file_path"
104- catalog_file_path="../$catalog_file_path"
105- index_file_path="../$index_file_path"
106101 cd $folder
102+ echo "current: $folder"
103+ manifest_file_path="../$manifest_file_path"
104+ catalog_file_path="../$catalog_file_path"
105+ index_file_path="../$index_file_path"
107106 done
108107
109108 cp -f $manifest_file_path .
You can’t perform that action at this time.
0 commit comments