Skip to content

Commit

Permalink
Make script more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 committed Jun 25, 2021
1 parent ccca59b commit 7a4d6d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
color: "#00FF00"
username: "CW Build Status Bot"
message: >
Build ${{ github.run_number }} successfully completed:
https://github.com/sebs-scholarship/Blog/actions/runs/${{ github.run_id }}
${{ github.repository }} build ${{ github.run_number }} successfully completed:
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Notify on failure
if: ${{ failure() && runner.os != 'Windows' }}
Expand All @@ -67,5 +67,5 @@ jobs:
color: "#FF0000"
username: "CW Build Status Bot"
message: >
Build ${{ github.run_number }} failed:
https://github.com/sebs-scholarship/Blog/actions/runs/${{ github.run_id }}
${{ github.repository }} build ${{ github.run_number }} failed:
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit 7a4d6d7

Please sign in to comment.