Skip to content

Commit 9c93c8a

Browse files
author
Create Index Workflow
committed
Commit JSON changes
1 parent 524066e commit 9c93c8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,14 @@ readme_update() {
8484
}
8585

8686
readme_update
87+
88+
# Validate JSON again
89+
jq . extra-cheat-sheets.json >/dev/null
8790

8891
if [ "${GITHUB_RUN_NUMBER-}" != "" ]; then
8992
git config user.email "[email protected]"
9093
git config user.name "Create Index Workflow"
91-
git commit -m "Update index." README.md || exit 0
94+
git commit -m "Update index." README.md extra-cheat-sheets.json || exit 0
9295
git push
9396
fi
9497

0 commit comments

Comments
 (0)