Skip to content

Commit

Permalink
Update main_gh-api-token-provider(deploy).yml
Browse files Browse the repository at this point in the history
Testing latest version of functions-action due to bug
Azure/functions-action#116
  • Loading branch information
suny-am authored Apr 6, 2024
1 parent 6f1b64b commit cc1d486
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main_gh-api-token-provider(deploy).yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ env:
jobs:
build-and-deploy:
runs-on: windows-latest
permissions:
id-token: write #This is required for requesting the JWT
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: 'Checkout GitHub Action'
Expand All @@ -34,19 +34,19 @@ jobs:
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet build --configuration Release --output ./output
popd
- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_12FCAC3B37C14BEFB83D0991D870D926 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_567B2336ABE2473E9A8F4BBB7D9F4F0F }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B1B971B3345F466597796A8569FA1DD3 }}
- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_12FCAC3B37C14BEFB83D0991D870D926 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_567B2336ABE2473E9A8F4BBB7D9F4F0F }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B1B971B3345F466597796A8569FA1DD3 }}

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
uses: Azure/functions-action@v1.5.1
id: fa
with:
app-name: 'gh-api-token-provider'
slot-name: 'deploy'
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'


0 comments on commit cc1d486

Please sign in to comment.