Skip to content

Commit

Permalink
github.event should be github.event_name (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbourke committed Jan 25, 2024
1 parent 5c32e80 commit 376eeda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
name: Publish Artifacts
runs-on: ubuntu-latest
needs: build
if: github.event == 'release'
if: github.event_name == 'release'
defaults:
run:
shell: bash
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
name: Publish Documentation Site
runs-on: ubuntu-latest
needs: release-publish-artifacts
if: github.event == 'release'
if: github.event_name == 'release'
defaults:
run:
shell: bash
Expand Down

0 comments on commit 376eeda

Please sign in to comment.