Skip to content

Commit d8545e6

Browse files
committed
fix: remove Azure login step and use publish profile for deployment
1 parent 73785a0 commit d8545e6

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,9 @@ jobs:
8989
9090
echo "IMAGE_TAG=$REGISTRY_IMAGE:$SHA_TAG" >> $GITHUB_ENV
9191
92-
- name: Loging to Azure portal
93-
uses: azure/login@v2
94-
with:
95-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
96-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
97-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
98-
9992
- name: Deploy to Azure Web App
10093
uses: azure/webapps-deploy@v2
10194
with:
10295
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
96+
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
10397
images: ${{ secrets.ACR_LOGIN_SERVER }}/express-server:latest

0 commit comments

Comments
 (0)