Skip to content

Commit

Permalink
Modify ci.yml to trigger publish on push to v2 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
eyw520 committed Nov 29, 2024
1 parent 45e7663 commit 2c06258
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ README.md

src/wrapper
src/core/websocket
src/serialization/resources/tts/types/OutputFormat.ts
src/serialization/resources/tts/types/OutputFormat.ts

.github/workflows/ci.yml
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

publish:
needs: [ compile, test ]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
if: github.event_name == 'push' && github.ref == 'refs/heads/v2'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand Down

0 comments on commit 2c06258

Please sign in to comment.