diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 49efce2..0d68683 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,6 +1,9 @@ name: Publish Release on: + push: + tags: + - 'v*' release: types: [published] workflow_dispatch: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c1d7e3..4bd2b2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,5 +37,5 @@ jobs: - name: Release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx semantic-release