Skip to content

Commit

Permalink
Update comp-fix_pwabuilder-apiv2-node(dev).yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgw96 authored Oct 1, 2024
1 parent 197724b commit 27eeb05
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/comp-fix_pwabuilder-apiv2-node(dev).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_2A6E9B9CBFB54B5A95186843DE1D3E92 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_BECF5140E58D4E4DAF8C3ECDD90CB3D3 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_22B2F92B4B304841A09CCAE322E404E5 }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_2A6E9B9CBFB54B5A95186843DE1D3E92 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_BECF5140E58D4E4DAF8C3ECDD90CB3D3 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_22B2F92B4B304841A09CCAE322E404E5 }}

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


0 comments on commit 27eeb05

Please sign in to comment.