diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e0ccf5..c0e32e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release on: workflow_dispatch: + push: jobs: @@ -33,6 +34,7 @@ jobs: npm run generate-docs - name: Release + if: github.ref == 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}