Skip to content

Commit d790121

Browse files
committed
feat: verify and reinstall MkDocs plugins in deployment workflow
1 parent 5732efe commit d790121

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ jobs:
5050
- name: Install Python dependencies via Task
5151
run: task setup
5252

53+
- name: Verify and reinstall plugins
54+
run: |
55+
pip install --force-reinstall mkdocs-minify-plugin
56+
pip install --force-reinstall mkdocs-mermaid2-plugin
57+
pip install --force-reinstall mkdocs-git-revision-date-localized-plugin
58+
python -c "import mkdocs_minify_plugin; print('✅ mkdocs-minify-plugin installed')"
59+
echo "✅ All MkDocs plugins verified and reinstalled"
60+
61+
- name: Verify plugin installation
62+
run: |
63+
python -c "import mkdocs_minify_plugin; print('✅ mkdocs-minify-plugin installed')"
64+
python -c "import mermaid; print('✅ mkdocs-mermaid2-plugin installed')"
65+
python -c "import mkdocs_git_revision_date_localized_plugin; print('✅ git-revision-date-localized-plugin installed')"
66+
echo "All MkDocs plugins verified"
67+
5368
- name: Setup Node.js (for Lighthouse)
5469
uses: actions/setup-node@v4
5570
with:

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ tasks:
2525
- pip install pymdown-extensions
2626
- echo "✅ Python dependencies installed"
2727
- echo "Note - For linting install markdownlint-cli globally"
28+
- python -c "import mkdocs_minify_plugin; print('✅ Minify plugin verified')" || echo "⚠️ Minify plugin not found"
2829
- echo "Setup complete!"
2930

3031
install:

0 commit comments

Comments
 (0)