fix(docs): resolve VitePress build errors with custom HTML tags

- Fix custom tags (Good, Bad, Before, After, Tip, Note, Warning) in skill docs
- Replace placeholder variables with HTML entities to prevent Vue parser errors
- Allow manual workflow_dispatch to trigger docs deployment
This commit is contained in:
catlog22
2026-02-28 16:53:26 +08:00
parent cd54c10256
commit 84610661ca
7 changed files with 127 additions and 78 deletions

View File

@@ -53,7 +53,7 @@ jobs:
path: docs/.vitepress/dist
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}