From 430fe01c096f30df360fd51a13541d2bced2b680 Mon Sep 17 00:00:00 2001 From: adikarthik <33541222+adikarthik@users.noreply.github.com> Date: Thu, 14 Nov 2024 04:23:57 +0000 Subject: [PATCH] Update main_abc1411.yml --- .github/workflows/main_abc1411.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main_abc1411.yml b/.github/workflows/main_abc1411.yml index cd6e4da..3aa4ebf 100644 --- a/.github/workflows/main_abc1411.yml +++ b/.github/workflows/main_abc1411.yml @@ -29,7 +29,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: java-app - path: '${{ github.workspace }}/target/*.jar' + path: '${{ github.workspace }}/frontend/target/*.jar' deploy: runs-on: ubuntu-latest @@ -37,21 +37,21 @@ 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 uses: actions/download-artifact@v4 with: name: java-app - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_2C1693C515AF4A4FA73EE51BB7F557AF }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_749012F0EF84400B9C645BEE2522E632 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_85979E078CAF4558AAEE68327D15D1E0 }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_2C1693C515AF4A4FA73EE51BB7F557AF }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_749012F0EF84400B9C645BEE2522E632 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_85979E078CAF4558AAEE68327D15D1E0 }} - name: Deploy to Azure Web App id: deploy-to-webapp @@ -60,4 +60,4 @@ jobs: app-name: 'abc1411' slot-name: 'Production' package: '*.jar' - \ No newline at end of file +