Skip to content

Commit

Permalink
removing slack workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadtaimoor-deriv committed Apr 5, 2024
1 parent e2d9c7b commit 681ca32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 50 deletions.
46 changes: 0 additions & 46 deletions .github/actions/notify_slack/action.yml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- production_*
env:
RELEASE_TYPE: Production
APP_NAME: smarttrader-deriv-app
jobs:
build_and_test:
name: Build and Test
Expand Down Expand Up @@ -91,9 +92,7 @@ jobs:
id: extract_version
run: echo "RELEASE_VERSION=$(cat dist/version.txt)" >> $GITHUB_ENV
- name: Send Slack Notification
uses: './.github/actions/notify_slack'
uses: 'deriv-com/shared-actions/.github/actions/send_slack_notification@master'
with:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ env.WORKFLOW_CONCLUSION }}
release_type: ${{env.RELEASE_TYPE}}
version: ${{ steps.extract_version.outputs.RELEASE_VERSION }}
MESSAGE: '$RELEASE_TYPE Docker Publish and Kubernetes Deployment for $APP_NAME with version ${{ needs.build_test_and_publish.outputs.RELEASE_VERSION }} has Failed'

0 comments on commit 681ca32

Please sign in to comment.