Skip to content

Commit

Permalink
Add prod webhooks for aut instances
Browse files Browse the repository at this point in the history
  • Loading branch information
ammsalme committed Aug 26, 2024
1 parent 5d1b50a commit f51d07c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/melinda-node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,36 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Test bib webhook
- name: Production bib webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/main'
with:
url: ${{ secrets.WEBHOOK_URL_BIB_PROD_FROM_MAIN }}
body: '{}'
- name: Production aut-aux webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/main'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_AUX_PROD_FROM_MAIN }}
body: '{}'
- name: Production aut-names webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/main'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_NAMES_PROD_FROM_MAIN }}
body: '{}'
- name: Production aut-subjects webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/main'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_SUBJECTS_PROD_FROM_MAIN }}
body: '{}'
- name: Production aut-works webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/main'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_WORKS_PROD_FROM_MAIN }}
body: '{}'
- name: Test aut aux webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
Expand Down

0 comments on commit f51d07c

Please sign in to comment.