mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #16883 from crazy-max/fix-validate-workflow
ci: fix validate upstream workflow
This commit is contained in:
2
.github/workflows/validate-upstream.yml
vendored
2
.github/workflows/validate-upstream.yml
vendored
@@ -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
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user