From 2a1f4702cd8df3afa5647799e5aa6201ab4f6e92 Mon Sep 17 00:00:00 2001 From: Dimitrios Stoupis <dimitris.apple@gmail.com> Date: Sat, 4 May 2019 14:14:07 +0000 Subject: [PATCH] Keep required folders in the listing --- ci/pages_deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/pages_deploy.sh b/ci/pages_deploy.sh index bc92ca81..940405a8 100755 --- a/ci/pages_deploy.sh +++ b/ci/pages_deploy.sh @@ -87,6 +87,9 @@ mv docs/html/* public/${DOCUMENT_PATH} git branch -a | grep "remote" | xargs -n 1 -i sh -c "path=\"{}\"; basename \"\$path\"" > branches_list ls -d public/coverage/*/ | xargs -n 1 -i sh -c "name=\"{}\"; basename \"\$name\"" > directory_list +# Condition the directory list (Remove unwanted instances) +sed -i -e '/gcovr/d;/inc/d;/src/d' directory_list + # Output for debugging purposes echo -e "\e[1;36mBranch names list\e[0m" cat branches_list -- GitLab