Skip to content

Commit be00bee

Browse files
committed
chore: add discord webhook for deployments
1 parent 0a86a9d commit be00bee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
outputs:
1616
release_created: ${{ steps.release.outputs.release_created }}
1717
tag_name: ${{ steps.release.outputs.tag_name }}
18+
body: ${{ steps.release.outputs.body }}
1819
steps:
1920
- uses: googleapis/release-please-action@v4
2021
if: github.ref == 'refs/heads/main'
@@ -73,3 +74,15 @@ jobs:
7374
run: pnpm publish
7475
env:
7576
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
77+
78+
- name: Send Discord notification
79+
if: ${{ needs.release-please.outputs.release_created }}
80+
uses: Ilshidur/[email protected]
81+
env:
82+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
83+
with:
84+
args: |
85+
🔑 Keyserver Release ${{ needs.release-please.outputs.tag_name }} created!
86+
87+
**Changelog:**
88+
${{ needs.release-please.outputs.body }}

0 commit comments

Comments
 (0)