Skip to content

Commit a38b277

Browse files
authored
Add generate-images-by-category gha (#292)
* Add generate-images-by-category gha
1 parent 0e829ba commit a38b277

File tree

3 files changed

+69
-439
lines changed

3 files changed

+69
-439
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
fetch-depth: 0
1818
sparse-checkout: |
1919
docs
20+
scripts
2021
- name: Setup python
2122
uses: actions/[email protected]
2223
with:
@@ -48,6 +49,8 @@ jobs:
4849
cp /tmp/d2/bin/d2 /usr/local/bin
4950
- name: Install dependencies
5051
run: pip install -r docs/requirements.txt
52+
- name: Generate images-by-category.md
53+
run: python scripts/generate-images-by-category.py
5154
- name: Build documentation
5255
run: mkdocs build
5356

@@ -63,6 +66,7 @@ jobs:
6366
fetch-depth: 0
6467
sparse-checkout: |
6568
docs
69+
scripts
6670
- name: Setup python
6771
uses: actions/[email protected]
6872
with:
@@ -94,5 +98,7 @@ jobs:
9498
cp /tmp/d2/bin/d2 /usr/local/bin
9599
- name: Install dependencies
96100
run: pip install -r docs/requirements.txt
101+
- name: Generate images-by-category.md
102+
run: python scripts/generate-images-by-category.py
97103
- name: Deploy to GitHub Pages
98104
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)