Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jankuss committed Dec 13, 2020
1 parent 4dca3b1 commit f6b24e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
notify-discord:
if: "!EVENT_PAYLOAD.release.prerelease"
if: "!github.event.release.prerelease"
needs: publish-npm
runs-on: ubuntu-latest
defaults:
Expand All @@ -47,7 +47,7 @@ jobs:
- run: npm start
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
GIT_VERSION_TAG: ${{ EVENT_PAYLOAD.release.tag_name }}
GIT_VERSION_TAG: ${{ github.event.release.tag_name }}

publish-gpr:
needs: build
Expand Down

0 comments on commit f6b24e0

Please sign in to comment.