Skip to content

Commit 5f888b8

Browse files
authored
Update test_build.yml
1 parent a2e0358 commit 5f888b8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/test_build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@ jobs:
2727
[ -d "${path}" ] || continue # skip if not a directory
2828
dirname="$(basename "${path}")"
2929
dest="../${dirname}"
30-
mkdir -v ${dest}
31-
[ ! -d "${path}/data" ] || cp -rv "${path}/data" ${dest}/
32-
[ ! -d "${path}/imgs" ] || cp -rv "${path}/imgs" ${dest}/
33-
cp -v tutorial.css ${dest}
30+
mkdir ${dest}
31+
[ ! -d "${path}/data" ] || cp -r "${path}/data" ${dest}/
32+
[ ! -d "${path}/imgs" ] || cp -r "${path}/imgs" ${dest}/
33+
cp tutorial.css ${dest}
3434
for fil in $dirname/*.md; do
3535
echo $fil
3636
outfile="${dest}/$(basename "${fil%.md}.html")"
3737
echo $outfile
3838
pandoc --standalone ${fil} --css tutorial.css -o ${outfile}
39-
sed -i '' 's/<figure>/<BR clear=all><figure>/g' ${outfile}
39+
sed -i "" "s/<figure>/<BR clear=all><figure>/g" ${outfile}
4040
done
41+
ls -R ${dest}
4142
done
4243

0 commit comments

Comments
 (0)