From 783c06d811294ce1c2815d91ca8b1e45d872922e Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 8 Jul 2019 13:31:19 -0400 Subject: [PATCH] Add missing folders under storage/public #316 --- .travis/deploy_script.sh | 4 +++- storage/app/public/.gitignore | 2 ++ storage/app/public/avatar/.gitignore | 2 ++ storage/app/public/uploads/.gitignore | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 storage/app/public/avatar/.gitignore create mode 100755 storage/app/public/uploads/.gitignore diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 4e890ce2..b9cbfe13 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -89,7 +89,9 @@ if [ "$TRAVIS" = "true" ]; then # 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' -print0 -exec rm -rf {} + + find storage/app/public -mindepth 1 -not -name '.gitignore' -not -name avatar -not -name uploads -print0 -exec rm -rf {} + + find storage/app/public/avatar -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 {} + find storage/docker -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + find storage/framework/cache -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore index d6b7ef32..f2e1cac8 100755 --- a/storage/app/public/.gitignore +++ b/storage/app/public/.gitignore @@ -1,2 +1,4 @@ * +!avatar +!uploads !.gitignore diff --git a/storage/app/public/avatar/.gitignore b/storage/app/public/avatar/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/app/public/avatar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/app/public/uploads/.gitignore b/storage/app/public/uploads/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/app/public/uploads/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore