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 91c077e commit 4243d89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/generate_allure_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ jobs:
publish_branch: gh-pages # Specify the branch to publish the report to
publish_dir: allure-history # Specify the directory containing the report

- name: Send Allure report to Slack # Step to send Allure report to Slack
if: always() # Execute even if previous steps fail
run: | #https://pmbinapps.github.io/github-action-with-allure-report/5/index.html
- 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 }}"
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 }}

0 comments on commit 4243d89

Please sign in to comment.