Skip to content

Commit 728faae

Browse files
committed
fix: switch to webhook deployment mechanism
1 parent 23c0b62 commit 728faae

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,10 @@ jobs:
5656
cache-from: type=gha
5757
cache-to: type=gha,mode=max
5858

59-
# Deploy Backend container to Azure App Service
59+
# Deploy Backend container to Azure App Service via Webhook
6060
- name: Deploy Backend to Azure
61-
uses: azure/webapps-deploy@v3
62-
with:
63-
app-name: flowops-backend-app
64-
publish-profile: ${{ secrets.AZURE_BACKEND_PUBLISH_PROFILE }}
65-
images: ${{ env.BACKEND_IMAGE }}:${{ github.sha }}
61+
run: curl -X POST "${{ secrets.AZURE_BACKEND_WEBHOOK }}"
6662

67-
# Deploy Frontend container to Azure App Service
63+
# Deploy Frontend container to Azure App Service via Webhook
6864
- name: Deploy Frontend to Azure
69-
uses: azure/webapps-deploy@v3
70-
with:
71-
app-name: flowops-frontend-app
72-
publish-profile: ${{ secrets.AZURE_FRONTEND_PUBLISH_PROFILE }}
73-
images: ${{ env.FRONTEND_IMAGE }}:${{ github.sha }}
65+
run: curl -X POST "${{ secrets.AZURE_FRONTEND_WEBHOOK }}"

0 commit comments

Comments
 (0)