chore(ci): update CI to run more less often and more efficient
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user