commit 27c450e65a8766837eeeee85b6f93ae1cae64fc7 parent a5284f31453820c85542a12c741c4cbe61ab3fcc Author: Amit Dutta <mail@amit.is-a.dev> Date: Fri, 28 Aug 2026 13:15:13 +0530 Merge pull request #99 from notamitgamer/fix/apk-workflows-run-generators Run list.py + main.py before docs:build in both APK workflows Diffstat:
| M | .github/workflows/build-apk.yml | | | 14 | ++++++++++++++ |
| M | .github/workflows/update-apk-content.yml | | | 14 | ++++++++++++++ |
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml @@ -46,6 +46,20 @@ jobs: - name: Install site deps run: npm ci + # main.yml runs these before the VitePress build — they generate + # the per-folder index.md files (practice/index.md, etc.) that + # the rest of the docs link to. Skipping them causes a + # "dead link(s) found" build failure. + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: Generate markdown files + run: | + python list.py + python main.py + - name: Build VitePress site run: npm run docs:build diff --git a/.github/workflows/update-apk-content.yml b/.github/workflows/update-apk-content.yml @@ -37,6 +37,20 @@ jobs: - name: Install site deps run: npm ci + # main.yml runs these before the VitePress build — they generate + # the per-folder index.md files (practice/index.md, etc.) that + # the rest of the docs link to. Skipping them is what caused the + # "16 dead link(s) found" build failure. + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: Generate markdown files + run: | + python list.py + python main.py + - name: Build VitePress site run: npm run docs:build