Skip to content

Commit e349073

Browse files
authored
ci: deploy only fixes and features (#852)
1 parent 0326f62 commit e349073

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ jobs:
8484
path: packages/*.*
8585
deploy:
8686
name: Deploy
87-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
87+
if: |
88+
github.ref == 'refs/heads/main' &&
89+
github.event_name == 'push' &&
90+
(
91+
startsWith(github.event.head_commit.message, 'feat:') ||
92+
startsWith(github.event.head_commit.message, 'fix:')
93+
)
8894
needs: [pack]
8995
runs-on: ubuntu-latest
9096
steps:

0 commit comments

Comments
 (0)