From 6fc242315a12f0a10f0b02a548145ac1d4c89440 Mon Sep 17 00:00:00 2001 From: akshayp7 Date: Sun, 25 Feb 2024 11:34:46 +0530 Subject: [PATCH] SlackNotifications --- .github/workflows/playwright.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a4d1527..a0c4093 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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() \ No newline at end of file