Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu committed Aug 19, 2024
1 parent 6715991 commit d72ee72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/qase-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit d72ee72

Please sign in to comment.