Skip to content

3.1.2

3.1.2 #3

Workflow file for this run

name: Release Webhook
on:
release:
types: [published]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send POST request
run: |
curl -X POST -H "Content-Type: application/json" \
-d "{\"appId\": \"$APP_ID\", \"releaseId\": \"${{ github.event.release.id }}\", \"repository\": \"${{ github.repository }}\", \"owner\": \"${{ github.event.repository.owner.login }}\"}" $WEBHOOK_URL
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
APP_ID: ${{ secrets.APP_ID }}