Skip to content

Commit

Permalink
add slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
chinelo-obitube authored and chinelo-obitube committed Jul 18, 2024
1 parent 3092aa7 commit 290f443
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ on:

env:
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

jobs:
functional-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -108,6 +115,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -196,6 +209,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit 290f443

Please sign in to comment.