Skip to content

Commit 537eff9

Browse files
committed
test 2
1 parent ca0f008 commit 537eff9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
if: ${{ success() }}
1313
uses: appleboy/[email protected]
1414
with:
15-
webhook_id: ${{ secrets.DISCORD_BOT_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 }}
15+
webhook_url: ${{ secrets.DISCORD_BOT_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 }}
1919
- name: Notify Discord (success)
2020
if: ${{ failure() }}
2121
uses: appleboy/[email protected]
2222
with:
23-
webhook_id: ${{ secrets.DISCORD_BOT_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 }}
23+
webhook_url: ${{ secrets.DISCORD_BOT_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)