From 55c0e809f563474e61161a73f9dfe352252b8e17 Mon Sep 17 00:00:00 2001 From: Austin Cawley-Edwards Date: Wed, 24 Feb 2021 13:30:05 -0500 Subject: [PATCH] ci: use correct `event_name` property (#284) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfaddcd..5cfb582 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: node-version: 12 registry-url: https://registry.npmjs.org/ - run: npm run release - if: ${{ github.event == 'push' }} + if: ${{ github.event_name == 'push' }} env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} # f674......69f0 GITHUB_TOKEN: ${{secrets.github_token}}