Skip to content

Commit 06a9539

Browse files
committed
Add a command to delete all the .git folders inside themes/contrib during deploy.
1 parent 8e28f13 commit 06a9539

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generators/app/templates/_site.ahoy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ commands:
1818
cd ../
1919
composer install --no-dev --ignore-platform-reqs
2020
find ./web/modules/contrib/ -name ".git" -exec rm -rf {} \;
21+
find ./web/themes/contrib/ -name ".git" -exec rm -rf {} \;
2122
find ./web/sites/all/assets/vendor/ -name ".git" -exec rm -rf {} \;
2223
find ./web/libraries/ -name ".git" -exec rm -rf {} \;
2324
find ./web/sites/all/libraries/ -name ".git" -exec rm -rf {} \;

0 commit comments

Comments
 (0)