diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f9b31a..5308a80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: - name: Install dependencies run: npm ci - name: Release - if: branch = master + if: github.ref == 'refs/heads/master' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}