diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 35ea471c..70281245 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -39,7 +39,7 @@ jobs: mkdir -p ${DEEPLINK_PATH} ls -la ${DEEPLINK_PATH} rm -rf ${WORKSPACE} - find ${DEEPLINK_PATH} -maxdepth 1 -mmin +480 -type d -exec bash -c 'echo clean "$0" && rm -rf "$0"' {} \; + find ${DEEPLINK_PATH} -mindepth 1 -maxdepth 1 -mmin +480 -type d -exec bash -c 'echo clean "$0" && rm -rf "$0"' {} \; mkdir -p ${WORKSPACE} - name: checkout code run: |