Merge pull request #1968 from AMR-Mannesmann/ci(docs)-skip-unrelated-builds

ci(docs): skip builds for unrelated pull requests
This commit is contained in:
Daniel Radl 2026-08-19 21:13:34 +02:00 committed by GitHub
commit 2719f343cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ name: Docs / Publish Site
on:
pull_request:
branches: [main]
paths:
- "docs/**"
- ".github/workflows/docs-publish-site.yml"
merge_group:
push:
branches: [main]
@ -24,7 +27,7 @@ concurrency:
jobs:
docs-build:
name: Docs / Build (Node ${{ matrix.node-version }})
name: Docs / Build
runs-on: ubuntu-latest
strategy:
matrix:
@ -65,7 +68,7 @@ jobs:
path: docs/.vitepress/dist
deploy:
name: Deploy docs
name: Docs / Deploy
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs: docs-build
runs-on: ubuntu-latest