Skip to content

Commit a2e0358

Browse files
authored
Update test_build.yml
1 parent c89e38e commit a2e0358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
dirname="$(basename "${path}")"
2929
dest="../${dirname}"
3030
mkdir -v ${dest}
31-
[ -d "${path}/data" ] || cp -rv "${path}/data" ${dest}/
32-
[ -d "${path}/imgs" ] || cp -rv "${path}/imgs" ${dest}/
31+
[ ! -d "${path}/data" ] || cp -rv "${path}/data" ${dest}/
32+
[ ! -d "${path}/imgs" ] || cp -rv "${path}/imgs" ${dest}/
3333
cp -v tutorial.css ${dest}
3434
for fil in $dirname/*.md; do
3535
echo $fil

0 commit comments

Comments
 (0)