Skip to content

Commit 6e2dbbb

Browse files
committed
Using the latest version of webhook and corresponding fields with it, this version makes the webhook_secret optional
1 parent 4f0a688 commit 6e2dbbb

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,20 @@ jobs:
5252

5353

5454
steps:
55-
- name: Deploy to Feathr SQL Registry Azure Web App
56-
id: deploy-to-sql-webapp
57-
uses: distributhor/workflow-webhook
58-
with:
59-
url: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_SQL_REGISTRY }}
60-
json: '{}'
61-
6255
- name: Deploy to Feathr Purview Registry Azure Web App
6356
id: deploy-to-purview-webapp
64-
uses: distributhor/workflow-webhook
65-
with:
66-
url: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_SQL_REGISTRY }}
67-
json: '{}'
57+
uses: distributhor/workflow-webhook@v3.0.1
58+
env:
59+
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_PURVIEW_REGISTRY_WEBHOOK }}
6860

6961
- name: Deploy to Feathr RBAC Registry Azure Web App
7062
id: deploy-to-rbac-webapp
71-
uses: distributhor/workflow-webhook
72-
with:
73-
url: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_SQL_REGISTRY }}
74-
json: '{}'
75-
63+
uses: distributhor/workflow-webhook@v3.0.1
64+
env:
65+
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_RBAC_REGISTRY_WEBHOOK }}
66+
67+
- name: Deploy to Feathr SQL Registry Azure Web App
68+
id: deploy-to-sql-webapp
69+
uses: distributhor/workflow-webhook@v3.0.1
70+
env:
71+
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_SQL_REGISTRY_WEBHOOK }}

0 commit comments

Comments
 (0)