From 59d7e57ad88ec7ca1476d35a2aabcbdc5cbe3b14 Mon Sep 17 00:00:00 2001 From: austin ce Date: Wed, 24 Feb 2021 13:26:39 -0500 Subject: [PATCH] ci: use correct property --- .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}}