mirror of https://github.com/docker/docs.git
ci: fix validate upstream workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d5312d53e2
commit
48fe03dfde
|
@ -67,7 +67,7 @@ jobs:
|
|||
yq _config.yml
|
||||
# cleanup js-yaml module and data files
|
||||
rm -rf ./node_modules
|
||||
if [ -n "./_data/${{ inputs.data-files-folder }}" ]; then
|
||||
if [[ -n "${{ inputs.data-files-folder }}" ]] && [[ -d "./_data/${{ inputs.data-files-folder }}" ]]; then
|
||||
rm -rf ./_data/${{ inputs.data-files-folder }}/*
|
||||
fi
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue