Skip to content

Commit

Permalink
fix(action): change trigger in publish (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
danprates authored Apr 1, 2023
1 parent 9b93823 commit f2fb1a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Publish on NPM

on:
release:
types: [published]
push:
branches:
- master

jobs:
publish-npm:
if: startsWith(github.ref, 'refs/heads/release/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit f2fb1a0

Please sign in to comment.