chore: modify .github/workflows/release-webhook.yml

This commit is contained in:
stoat-tofu[bot]
2026-01-10 13:19:22 +00:00
committed by GitHub
parent 6ca1143c22
commit 7b9918f43b
+19
View File
@@ -0,0 +1,19 @@
name: Release Webhook
on:
workflow_dispatch:
release:
types: [published]
jobs:
release-webhook:
name: Send Release Webhook
runs-on: ubuntu-latest
steps:
- name: Send release notification webhook
run: |
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ needs.release-please.outputs.tag_name }}"
curl -X POST "${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}" \
-H "Content-Type: application/json" \
-d "{\"content\": \"$RELEASE_URL\"}"