diff --git a/.github/workflows/generate_allure_report.yml b/.github/workflows/generate_allure_report.yml index 01b5f2c9..9be1347f 100644 --- a/.github/workflows/generate_allure_report.yml +++ b/.github/workflows/generate_allure_report.yml @@ -70,5 +70,6 @@ jobs: - name: Send Allure report to Slack # Step to send Allure report to Slack if: always() # Execute even if previous steps fail run: | - allure_report_link="https://${{ github.repository_owner }}.github.io/${{ github.repository }}/${{ github.run_number }}/index.html" + REPO_NAME=${GITHUB_REPOSITORY##*/} | + allure_report_link="https://${{ github.repository_owner }}.github.io/$REPO_NAME/${{ github.run_number }}/index.html" curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"New Allure report generated! Check it out: ${allure_report_link}\"}" ${{ secrets.SLACK_WEBHOOK_URL }}