From a49974f9547ae4d187b910f6f686d5ca47e6419e Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Sun, 27 Apr 2025 17:29:38 +0100 Subject: [PATCH] Update main_briefing-bot-app.yml --- .github/workflows/main_briefing-bot-app.yml | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main_briefing-bot-app.yml b/.github/workflows/main_briefing-bot-app.yml index 83d05a4..edd6a8b 100644 --- a/.github/workflows/main_briefing-bot-app.yml +++ b/.github/workflows/main_briefing-bot-app.yml @@ -27,7 +27,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 @@ -41,12 +41,12 @@ jobs: deploy: runs-on: ubuntu-latest needs: build - environment: - name: 'Production' + environment: + name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT - contents: read #This is required for actions/checkout + permissions: + id-token: write #This is required for requesting the JWT + contents: read #This is required for actions/checkout steps: - name: Download artifact from build job @@ -56,13 +56,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_629245ED6D494162901B0409210722E4 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_C28941656153485A901B2F32605467FA }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_998386AD93914062AB1F0F6A4B2F2BF6 }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_629245ED6D494162901B0409210722E4 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_C28941656153485A901B2F32605467FA }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_998386AD93914062AB1F0F6A4B2F2BF6 }} - name: 'Deploy to Azure Web App' id: deploy-to-webapp @@ -71,4 +71,4 @@ jobs: app-name: 'briefing-bot-app' slot-name: 'Production' package: . - \ No newline at end of file +