From d72ee72319e6fe78c89f235c2cd99bb4156e75b6 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Mon, 19 Aug 2024 16:49:03 +0800 Subject: [PATCH] test Signed-off-by: Yang Chiu --- .github/workflows/qase-sync.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/qase-sync.yaml b/.github/workflows/qase-sync.yaml index b92f774d03..e750c37267 100644 --- a/.github/workflows/qase-sync.yaml +++ b/.github/workflows/qase-sync.yaml @@ -28,7 +28,7 @@ jobs: files=(${files}) for file in "${files[@]}"; do echo "file = $file" - if [[ "${file}" == *"/manual/"* ]]; then + if [[ "${file}" == *"/manual/"* ]] && [[ "${file}" != *"_index"* ]]; then echo "test cases += ${file}" test_cases+=("$file") fi @@ -87,10 +87,6 @@ jobs: cd docs/content/manual/ for file_path in "${test_cases}"; do - if [["${file_path}" == *"_index"* ]]; then - continue - fi - title=$(grep '^title:' ${file_path} | sed 's/title: "\(.*\)"/\1/') echo "title = ${title}" description=$(sed -z 's/\n/\\n/g' ${file_path} | sed 's/ \\/ \\\\/g')