Skip to content

Commit

Permalink
added: README.md workflow filter
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamVaidya committed Apr 7, 2024
1 parent 4f5c363 commit bea2e0c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy-storybook-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ jobs:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
steps:
- id: filter
uses: dorny/paths-filter@v3
with:
base: ${{ github.ref }}
predicate-quantifier: 'every'
filters: |
storybook:
- '!LICENSE'
- '!README.md'
- id: build-publish
if: ${{ steps.filter.outputs.storybook == 'true' }}
uses: bitovi/[email protected]
with:
install_command: yarn install # default: npm ci
Expand Down

0 comments on commit bea2e0c

Please sign in to comment.