From 9d72a5cc0253cd284e5431be91c94883f8ccbf33 Mon Sep 17 00:00:00 2001 From: D V Shashidhar Reddy <95679221+shashi2504@users.noreply.github.com> Date: Thu, 9 Jan 2025 21:57:50 +0530 Subject: [PATCH] Added Slack Integration or Workflow --- .github/workflows/solar-system.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/solar-system.yml b/.github/workflows/solar-system.yml index b9f9958..d8f4398 100644 --- a/.github/workflows/solar-system.yml +++ b/.github/workflows/solar-system.yml @@ -251,4 +251,22 @@ jobs: echo $URL echo "--------------------------" curl https://$URL/live -s -k | jq -r .status | grep -i live - continue-on-error: true \ No newline at end of file + continue-on-error: true + + slack-notifications: + if: always() + name: Slack Notification + needs: [dev-integration-testing, production-integration-testing] + continue-on-error: true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Slack Notification + uses: rtCamp/action-slack-notify@v2 + env: + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_CHANNEL: github-actions + SLACK_COLOR: ${{ job.status }} + SLACK_ICON: https://github.com/rtCamp.png?size=48 + SLACK_MESSAGE: ':hammer_and_wrench Triggered by ${{github.actor}}' + SLACKK_TITE: Nodejs Project Deployment Status \ No newline at end of file