From 13f61822fb97950183a15589bc82f6e956d20646 Mon Sep 17 00:00:00 2001 From: Shivshankar Date: Thu, 11 Jul 2024 13:57:41 -0400 Subject: [PATCH] Update master_testfinalwithmoniter.yml --- .../workflows/master_testfinalwithmoniter.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/master_testfinalwithmoniter.yml b/.github/workflows/master_testfinalwithmoniter.yml index 6da4efb..e717ff1 100644 --- a/.github/workflows/master_testfinalwithmoniter.yml +++ b/.github/workflows/master_testfinalwithmoniter.yml @@ -25,7 +25,7 @@ jobs: run: | npm install npm run build --if-present - npm run test --if-present + # npm run test --if-present - name: Zip artifact for deployment run: zip release.zip ./* -r @@ -42,8 +42,8 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT + permissions: + id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job @@ -53,13 +53,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5B1AF0A7CB844EA7838E7F5DC477A467 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_FC34B2F831604244B416B158DA6655FA }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_33757B638DC24161AD23C51CFDC7FCB9 }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5B1AF0A7CB844EA7838E7F5DC477A467 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_FC34B2F831604244B416B158DA6655FA }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_33757B638DC24161AD23C51CFDC7FCB9 }} - name: 'Deploy to Azure Web App' id: deploy-to-webapp @@ -68,4 +68,4 @@ jobs: app-name: 'testfinalwithmoniter' slot-name: 'Production' package: . - \ No newline at end of file +