chore(ci): update CI to run more less often and more efficient

This commit is contained in:
Gabe Kangas
2025-10-06 20:18:07 -07:00
parent 9b15da74d9
commit 7800afd95a
12 changed files with 165 additions and 4 deletions
+19
View File
@@ -1,3 +1,15 @@
# This workflow builds and deploys Storybook component documentation
# Triggers:
# - Push to develop branch with changes to:
# - web/stories/** (story files)
# - web/components/** (component source)
# - web/.storybook/** (Storybook config)
# - web/i18n/** (translations)
# Output:
# - Generates updated story files
# - Builds Storybook to docs/components
# - Dispatches event to owncast.github.io for deployment
name: Build and Deploy Components+Style Guide
on:
push:
@@ -16,6 +28,13 @@ jobs:
if: github.repository == 'owncast/owncast'
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
cancel_others: 'true'
skip_after_successful_duplicate: 'true'
- name: Check out pull request code
uses: actions/checkout@v5
if: github.event_name == 'pull_request'