From 7ec97fa69bf5363dcb4a204d1d24858379bcc9d2 Mon Sep 17 00:00:00 2001 From: Pawel Mergist <82152577+pmbinapps@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:40:44 +0200 Subject: [PATCH] Update generate_allure_report.yml --- .github/workflows/generate_allure_report.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate_allure_report.yml b/.github/workflows/generate_allure_report.yml index 8066656a..f63871f5 100644 --- a/.github/workflows/generate_allure_report.yml +++ b/.github/workflows/generate_allure_report.yml @@ -70,7 +70,7 @@ jobs: - name: Send Allure report to Slack # Step to send Allure report to Slack if: always() # Execute even if previous steps fail run: | - REPO_NAME=${GITHUB_REPOSITORY##*/} | - allure_report_link="https://${{ github.repository_owner }}.github.io/$REPO_NAME/${{ github.run_number }}/index.html" | - echo $allure_report_link | + REPO_NAME=${GITHUB_REPOSITORY##*/} + allure_report_link="https://${{ github.repository_owner }}.github.io/$REPO_NAME/${{ github.run_number }}/index.html" + echo $allure_report_link curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"New Allure report generated! Check it out: ${allure_report_link}\"}" ${{ secrets.SLACK_WEBHOOK_URL }}