Skip to content

Commit 2bdc645

Browse files
committed
github bot added
1 parent d085dd4 commit 2bdc645

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,19 @@ jobs:
88
- run: |
99
export ROVERFLAKE_ROOT="${GITHUB_WORKSPACE}"
1010
yes | ./setup_scripts/setup_everything_common.sh
11+
- name: Notify Discord (success)
12+
if: ${{ success() }}
13+
uses: appleboy/[email protected]
14+
with:
15+
webhook_id: ${{ secrets.DISCORD_WEBHOOK_URL }} # it also accepts full URL
16+
message: |
17+
:) ${{ github.repository }} on `${{ github.ref_name }}`
18+
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
19+
- name: Notify Discord (success)
20+
if: ${{ failure() }}
21+
uses: appleboy/[email protected]
22+
with:
23+
webhook_id: ${{ secrets.DISCORD_WEBHOOK_URL }} # it also accepts full URL
24+
message: |
25+
_you have saddened me ${{ github.actor }}_
26+
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)