Skip to content

Commit 98c89e5

Browse files
committed
ci: send release to discord
1 parent ab00462 commit 98c89e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release_apps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ jobs:
441441
442442
- name: Create GitHub Release
443443
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
444+
id: release
444445
with:
445446
body_path: ./target/RELEASE_BODY.md
446447
draft: true # Must set to true for Enable release immutability https://github.com/softprops/action-gh-release/issues/653
@@ -458,6 +459,11 @@ jobs:
458459
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
459460
run: gh release edit apps_v${OXLINT_VERSION} --draft=false
460461

462+
- uses: tsickert/discord-webhook@b217a69502f52803de774ded2b1ab7c282e99645 # v7.0.0
463+
with:
464+
webhook-url: ${{ secrets.DISCORD_OXC_RELEASES_CHANNEL }}
465+
content: ${{ steps.release.outputs.url }}
466+
461467
- name: wait 3 minutes for smoke test
462468
run: sleep 180s
463469

0 commit comments

Comments
 (0)