Skip to content

Commit

Permalink
SlackNotifications
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayp7 committed Feb 25, 2024
1 parent d4182f8 commit 6fc2423
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,10 @@ jobs:
# This step should always run, even if previous steps fail
if: always()

- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_CHANNEL: '#playwright-test-reports'
SLACK_USERNAME: GitHub Actions
SLACK_TITLE: Playwright Tests Completed
SLACK_TEXT: "Playwright tests have completed. Here is the HTML zip report."
SLACK_FILE: ./html-report
# This step should always run, even if previous steps fail
if: always()
- name: Slack Notification
uses: act10ns/slack@v1
with:
channel: '#playwright-test-reports'
message: Playwright Tests are completed, please find attached report
attachments: ./html-report.zip
if: always()

0 comments on commit 6fc2423

Please sign in to comment.