Skip to content

Commit 086bdfb

Browse files
author
Create Index Workflow
committed
...
1 parent ec74d73 commit 086bdfb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
set -euo pipefail
44

5-
# Validate JSON
6-
jq . extra-cheat-sheets.json >/dev/null
7-
85
# Reset stuff we want to modify
96
if [ "${GITHUB_RUN_NUMBER-}" = "" ]; then
10-
git checkout README.md
7+
git checkout README.md extra-cheat-sheets.json
118
fi
129

10+
# Validate JSON
11+
jq . extra-cheat-sheets.json >/dev/null
12+
1313
# Update README with a list of all cheat sheets defined
1414
readme_update() {
1515

0 commit comments

Comments
 (0)