We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827d5e3 commit 80decbfCopy full SHA for 80decbf
.github/workflows/release-please.yml
@@ -16,5 +16,15 @@ jobs:
16
if: ${{ github.ref == 'refs/heads/main' }}
17
steps:
18
- uses: googleapis/release-please-action@v4
19
+ id: release
20
with:
21
release-type: simple
22
+ - name: Send to Discord
23
+ if: ${{ steps.release.outputs.release_created }}
24
+ env:
25
+ DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
26
+ RELEASE_NOTES: ${{ steps.release.outputs.body }}
27
+ run: |
28
+ curl -H "Content-Type: application/json" -X POST -d '{
29
+ "content": "New Release: ${{ steps.release.outputs.tag_name }}\n\n```markdown\n${{ steps.release.outputs.body }}\n```"
30
+ }' $DISCORD_WEBHOOK_URL
0 commit comments