From be5dd68c81756109f7521fe9ed4ce43d0641586b Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 1 Aug 2019 13:04:10 -0400 Subject: [PATCH] Directories still not being retained #333 --- .travis/deploy_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 0c81bb42..0ee934f1 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -88,8 +88,8 @@ if [ "$TRAVIS" = "true" ]; then find . -type d -name "sass-cache" -print0 | xargs rm -rf # clear any app specific stuff that might have been loaded in - find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} + - find storage/app/public -mindepth 1 -not -name '.gitignore' -not -name avatars -not -name uploads -print0 -exec rm -rf {} + + find storage/app -mindepth 1 -maxdepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} + + find storage/app/public -mindepth 1 -maxdepth 1 -not -name '.gitignore' -not -name avatars -not -name uploads -print0 -exec rm -rf {} + find storage/app/public/avatars -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + find storage/app/public/uploads -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + find storage/debugbar -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +