From f6b24e0f7fe15a3a80181ee3f96cf605bf40c15a Mon Sep 17 00:00:00 2001 From: jankuss Date: Sun, 13 Dec 2020 14:29:00 -0800 Subject: [PATCH] Fix pipeline --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6874abad..af588840 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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: @@ -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