Skip to content

Commit

Permalink
Fix Slack bot for npm publish failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lym953 committed Nov 21, 2024
1 parent ebe3dfb commit 25003dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Publish packages on NPM
on:
release:
types: [created]
push:
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,11 +17,6 @@ jobs:
- run: yarn
- run: yarn build
- run: yarn publish

notify:
runs-on: ubuntu-latest
needs: build
steps:
- name: Send success message to Slack
env:
SLACK_CHANNEL: "#serverless-onboarding-and-enablement-ops"
Expand Down

0 comments on commit 25003dd

Please sign in to comment.