Skip to content

Commit

Permalink
ci: get event name from correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj authored and okonet committed Apr 5, 2020
1 parent 87f9966 commit 78a677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
needs: test
# Trigger release for only pushes to branches defined above
if: github.event == 'push'
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand Down

0 comments on commit 78a677a

Please sign in to comment.