Skip to content

Commit 263ecaa

Browse files
update
1 parent 3ec8207 commit 263ecaa

File tree

3 files changed

+210
-451
lines changed

3 files changed

+210
-451
lines changed

.github/workflows/melinda-node-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ jobs:
6565
if: github.ref == 'refs/heads/test'
6666
with:
6767
url: ${{ secrets.WEBHOOK_URL_TEST }}
68-
body: '{}'
68+
body: '{"event": "${{ github.event_name }}","uri": "${{ github.repository }}","ref": "${{ github.ref }}","commit": "${{ github.sha }}"}'
6969
- name: Prod webhook
7070
uses: joelwmale/webhook-action@master
71-
if: github.ref == 'refs/heads/master'
71+
if: github.ref == 'refs/heads/main'
7272
with:
7373
url: ${{ secrets.WEBHOOK_URL_PROD }}
74-
body: '{}'
74+
body: '{"event": "${{ github.event_name }}","uri": "${{ github.repository }}","ref": "${{ github.ref }}","commit": "${{ github.sha }}"}'
7575

0 commit comments

Comments
 (0)