Skip to content

Commit 528406b

Browse files
committed
refactor: Move GH action script calls to mdbook-resources submodule
1 parent f9025a6 commit 528406b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/mdbook.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ jobs:
3636

3737
steps:
3838
- uses: actions/checkout@v4
39+
with:
40+
submodules: recursive
3941

4042
- name: Dynamically generate resources.md file
41-
run: ./scripts/generate_resources.sh
43+
run: ./mdbook-resources/scripts/generate-resources
4244

4345
- name: Cache mdbook binary
4446
id: cache-mdbook
@@ -50,7 +52,7 @@ jobs:
5052

5153
- name: Fetch mdBook binary from mdBook repository if not cached
5254
if: steps.cache-mdbook.outputs.cache-hit != 'true'
53-
run: bash ./scripts/binary-validation.sh ${MDBOOK_VERSION}
55+
run: ./mdbook-resources/scripts/binary-validation ${MDBOOK_VERSION}
5456

5557
- name: Setup Pages
5658
id: pages

0 commit comments

Comments
 (0)