diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index cfc80b34..a0676198 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -43,7 +43,7 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - FILES=$(git ls-files --modified --others --exclude-standard docs/v2/*.json || true) + FILES=$(git ls-files --modified --others --exclude-standard docs/v2/**/*.json || true) if [ -n "$FILES" ]; then git add $FILES git commit -m "chore: deploy JSON file to docs/v2 [skip ci]" || exit 0