Skip to content

Commit

Permalink
ci: only release on release branch
Browse files Browse the repository at this point in the history
Signed-off-by: EINDEX <snowstarlbk@gmail.com>
  • Loading branch information
EINDEX committed Apr 19, 2023
1 parent 4dc1b59 commit 4067a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
uses: montudor/action-zip@v1
- name: Release
run: npx semantic-release
if: github.ref_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4067a79

Please sign in to comment.