Skip to content

Commit

Permalink
ci: change theme-preview action run condition
Browse files Browse the repository at this point in the history
This commit makes sure that the theme-preview action only runs when a
theme was added or changed.
  • Loading branch information
rickstaa committed Jul 29, 2022
1 parent 86f0ea0 commit 415ac11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- master
- theme-preview-script
- "themes/index.js"
paths:
- 'themes/**'

jobs:
build:
Expand Down

0 comments on commit 415ac11

Please sign in to comment.