ci(website): validate docs build in pull requests

Catch broken Docusaurus links before website changes merge.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Jan De Dobbeleer
2026-08-05 15:44:47 +02:00
committed by Jan De Dobbeleer
co-authored by Copilot App
parent eda0185975
commit 168ae17860
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1,6 +1,11 @@
name: Azure Static Web Apps CI/CD
on:
pull_request:
paths:
- "website/**"
- "themes/**"
- ".github/workflows/docs.yml"
push:
branches:
- main
@@ -56,6 +61,7 @@ jobs:
cp themes/schema.json website/api/data/schema.json
echo "✅ Copied schema.json to website/api/data/"
- name: Build Docs And Deploy 🚀
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: builddeploy
uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9
with:
+1 -1
View File
@@ -255,7 +255,7 @@ Converters won't catch this change, so you will need to adjust manually.
[colors]: /docs/configuration/colors
[accent]: /docs/configuration/colors#standard-colors
[templates]: /docs/configuration/templates#config-variables
[vimode]: /docs/segments/vimode
[vimode]: /docs/segments/system/vimode
[pwsh-bleed]: https://github.com/PowerShell/PowerShell/pull/19019
[iterm2-si]: https://iterm2.com/documentation-shell-integration.html
[Upgrade]: /docs/installation/upgrade