Skip to content

Commit

Permalink
update yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Jul 14, 2024
1 parent 8c4dc4b commit 009dcd1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-full-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
REPORT_NAME=$(basename "$REPORT_PATH")
echo "Report name: $REPORT_NAME"
echo "::set-output name=report_name::$REPORT_NAME"
- name: Set repository name
id: set-repo-name
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV

- name: Deploy report to GitHub Pages
if: always()
Expand All @@ -86,7 +90,7 @@ jobs:
channel-id: "C05HPKKNDCN"
payload: |
{
"text": "${{ github.repository }}: API Integration Tests have been completed. Check the results at https://jacqueline-57b.github.io/${{ github.repository }}/${{ steps.get-report-name.outputs.report_name }}",
"text": "${{ github.repository }}: SDK regression test have been completed. Check the results at https://jacqueline-57b.github.io/${{ env.REPO_NAME }}/${{ steps.get-report-name.outputs.report_name }}",
"blocks": [
{ "type": "divider" },
{
Expand All @@ -102,10 +106,10 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text":"${{ github.repository }}: SDK Regression Test Result have been completed. \nCheck the results at https://jacqueline-57b.github.io/${{ github.repository }}/${{ steps.get-report-name.outputs.report_name }}"
"text":"${{ github.repository }}: SDK Regression Test Result have been completed. \nCheck the results at https://jacqueline-57b.github.io/${{ env.REPO_NAME }}/${{ steps.get-report-name.outputs.report_name }}"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 009dcd1

Please sign in to comment.