Skip to content

added workflow to automate npm package publishing #13

added workflow to automate npm package publishing

added workflow to automate npm package publishing #13

Workflow file for this run

name: Slack Notification of CI Status
on:
push:
branches: ["main", "feature/raisa-cicd"]
pull_request:
branches: ["main"]
jobs:
slackNotification:
name: Slack CI status - notify on failure
runs-on: ubuntu-latest
steps:
- name: Slack Notify on Failure
if: ${{ failure() }}
id: slack
uses: slackapi/[email protected]
with:
channel-id: 'C067F896WG5'
slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
# https://github.com/slackapi/slack-github-action