Skip to content

Commit de46fb5

Browse files
committed
ci: include all JSON files in docs/v2 subdirectories for file checks in cron workflow
1 parent bf693a9 commit de46fb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
git config --global user.name "github-actions[bot]"
4545
git config --global user.email "github-actions[bot]@users.noreply.github.com"
46-
FILES=$(git ls-files --modified --others --exclude-standard docs/v2/*.json || true)
46+
FILES=$(git ls-files --modified --others --exclude-standard docs/v2/**/*.json || true)
4747
if [ -n "$FILES" ]; then
4848
git add $FILES
4949
git commit -m "chore: deploy JSON file to docs/v2 [skip ci]" || exit 0

0 commit comments

Comments
 (0)