Skip to content

Commit

Permalink
Added Slack Integration or Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi2504 authored Jan 9, 2025
1 parent 797f490 commit 9d72a5c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/solar-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,22 @@ jobs:
echo $URL
echo "--------------------------"
curl https://$URL/live -s -k | jq -r .status | grep -i live
continue-on-error: true
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

0 comments on commit 9d72a5c

Please sign in to comment.