File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed
Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -24,37 +24,34 @@ jobs:
2424 java-version : ' 17'
2525 distribution : ' microsoft'
2626
27- - name : Build with Maven
28- run : mvn clean install
29-
3027 - name : Upload artifact for deployment job
3128 uses : actions/upload-artifact@v4
3229 with :
3330 name : java-app
34- path : ' ${{ github.workspace }}/target/ *.war'
31+ path : ' ${{ github.workspace }}/*.war'
3532
3633 deploy :
3734 runs-on : ubuntu-latest
3835 needs : build
39- environment :
40- name : ' Production'
36+ environment :
37+ name : ' Production'
4138 url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
42- permissions :
43- id-token : write # This is required for requesting the JWT
44- contents : read # This is required for actions/checkout
39+ permissions :
40+ id-token : write # This is required for requesting the JWT
41+ contents : read # This is required for actions/checkout
4542
4643 steps :
4744 - name : Download artifact from build job
4845 uses : actions/download-artifact@v4
4946 with :
5047 name : java-app
51-
52- - name : Login to Azure
53- uses : azure/login@v2
54- with :
55- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_6FD3794A04DF4478AD7928AEF6B87739 }}
56- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_E2B1137057C249C986225FDD4BD51A18 }}
57- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_FBB83E33B441487184566512CC5BE8CD }}
48+
49+ - name : Login to Azure
50+ uses : azure/login@v2
51+ with :
52+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_6FD3794A04DF4478AD7928AEF6B87739 }}
53+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_E2B1137057C249C986225FDD4BD51A18 }}
54+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_FBB83E33B441487184566512CC5BE8CD }}
5855
5956 - name : Deploy to Azure Web App
6057 id : deploy-to-webapp
You can’t perform that action at this time.
0 commit comments