From e8e9e573462d8f683d2e9080410a42e8914b3c8d Mon Sep 17 00:00:00 2001 From: Levi Bostian Date: Tue, 21 Nov 2023 12:40:55 -0600 Subject: [PATCH] ci: fix semantic-release main branch not a release branch --- .github/workflows/deploy-plugin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-plugin.yml b/.github/workflows/deploy-plugin.yml index c5e3564..2cfaca0 100644 --- a/.github/workflows/deploy-plugin.yml +++ b/.github/workflows/deploy-plugin.yml @@ -20,6 +20,7 @@ jobs: uses: cycjimmy/semantic-release-action@v4 with: semantic_version: latest # since our plugin has a devDependency on semantic-release, using latest keyword here will upgrade node_modules/ copy to the latest version for deployment + branch: ${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_PUSH_TOKEN }} \ No newline at end of file