Skip to content

Commit

Permalink
Update master_pwabuilder-apiv2-node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgw96 authored Oct 1, 2024
1 parent b0fed91 commit 6656e47
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/master_pwabuilder-apiv2-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
npm install
npm run build --if-present
npm run test --if-present
popd
- name: Zip artifact for deployment
Expand All @@ -47,8 +46,8 @@ jobs:
runs-on: ubuntu-latest
needs: build

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
Expand All @@ -58,13 +57,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_98ECF0DE38E1439CA2F6155A59662119 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7FAF7BC27DD94DEFA0A6BD07D9597BD8 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_030A1D873881424D85BCCA3AF3B1A258 }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_98ECF0DE38E1439CA2F6155A59662119 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7FAF7BC27DD94DEFA0A6BD07D9597BD8 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_030A1D873881424D85BCCA3AF3B1A258 }}

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
Expand All @@ -73,4 +72,4 @@ jobs:
app-name: 'pwabuilder-apiv2-node'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}


0 comments on commit 6656e47

Please sign in to comment.