We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54ddb43 commit 4139203Copy full SHA for 4139203
tasks/dbt-docs-publish-to-repo/action.yml
@@ -92,6 +92,7 @@ runs:
92
git commit -m "Added dbt docs for ${{ env.BRANCH_NAME }}"
93
cd ..
94
for folder in ./*/; do
95
+ echo "checking folder $folder in file $branches_file_path"
96
if grep -q $folder $branches_file_path; then
97
echo "Keeping $folder"
98
elif [ "$folder" == "./css/" ]; then
@@ -102,6 +103,8 @@ runs:
102
103
104
elif [ "$folder" == "./lib/" ]; then
105
106
+ elif [ "$folder" == "./${{ env.BRANCH_NAME }}/" ; then
107
+ echo "Keeping current branch $folder"
108
else
109
echo "Deleting $folder"
110
rm -rf $folder
0 commit comments