diff --git a/.github/actions/notify-slack/action.yml b/.github/actions/notify-slack/action.yml index 448a4c2a..add9673f 100644 --- a/.github/actions/notify-slack/action.yml +++ b/.github/actions/notify-slack/action.yml @@ -16,16 +16,16 @@ inputs: description: "webhook url for channel - public-sdk-events" job_url: required: true - description: "job event link" + description: "job run id link" button_type: - required: true - description: "color for the check logs button" + required: true + description: "color for the check logs button" package_version: required: true description: "released package version" repo_link: - required: true - description: "link of the repo" + required: true + description: "link of the repo" runs: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b5083a56..3de8c73e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,9 +2,6 @@ name: Publish on: release: types: [published] - pull_request: - paths: - - '**' jobs: publish: @@ -48,8 +45,8 @@ jobs: GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Publish to npm - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm publish working-directory: xero-node