Skip to content

Commit 6fc2423

Browse files
committed
SlackNotifications
1 parent d4182f8 commit 6fc2423

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/playwright.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@ jobs:
5858
# This step should always run, even if previous steps fail
5959
if: always()
6060

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

0 commit comments

Comments
 (0)