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 }}