Skip to content

Commit

Permalink
Update generate_allure_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbinapps authored Aug 23, 2024
1 parent 4243d89 commit 4bfe237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_allure_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
- name: Send Allure report to Slack # Step to send Allure report to Slack
if: always() # Execute even if previous steps fail
run: |
report_link="${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/${{ vars.ALLURE_RESULTS_PATH }}/index.html"
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"New Allure report generated! Check it out: ${report_link}\"}" ${{ secrets.SLACK_WEBHOOK_URL }}
allure_report_link="https://${{ github.repository_owner }}.github.io/${{ github.repository }}/actions/runs/${{ github.run_id }}/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 }}

0 comments on commit 4bfe237

Please sign in to comment.