mirror of https://github.com/docker/docs.git
Merge pull request #16883 from crazy-max/fix-validate-workflow
ci: fix validate upstream workflow
This commit is contained in:
commit
f39e7e307e
|
@ -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