diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1475b93f..f36b45b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,7 @@ name: Publish on: release: types: [published] + push: jobs: publish: @@ -31,6 +32,6 @@ jobs: - name: Publish to npm env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm publish working-directory: xero-node