mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 02:34:19 -05:00
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:
committed by
Jan De Dobbeleer
co-authored by
Copilot App
parent
eda0185975
commit
168ae17860
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user