From 2c06258ec44346c1b6e15f676890b4799a8540e8 Mon Sep 17 00:00:00 2001 From: eden Date: Thu, 28 Nov 2024 22:32:53 -0500 Subject: [PATCH] Modify ci.yml to trigger publish on push to v2 branch --- .fernignore | 4 +++- .github/workflows/ci.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.fernignore b/.fernignore index 95740ea..992aad1 100644 --- a/.fernignore +++ b/.fernignore @@ -4,4 +4,6 @@ README.md src/wrapper src/core/websocket -src/serialization/resources/tts/types/OutputFormat.ts \ No newline at end of file +src/serialization/resources/tts/types/OutputFormat.ts + +.github/workflows/ci.yml \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a55fdb..e027667 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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