Skip to content

Commit

Permalink
Update main_abc1411.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adikarthik authored Nov 14, 2024
1 parent 4a9d806 commit 430fe01
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main_abc1411.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,29 @@ 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
needs: build
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
Expand All @@ -60,4 +60,4 @@ jobs:
app-name: 'abc1411'
slot-name: 'Production'
package: '*.jar'


0 comments on commit 430fe01

Please sign in to comment.