Skip to content

Commit

Permalink
Update master_training20240424.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oigbokwe73 committed Apr 27, 2024
1 parent cdbc4fb commit a421989
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/master_training20240424.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'AzureServiceBusToSQL/AzureServiceBusToSQL.csproj' # set this to the path to your web app project, defaults to the repository root
DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use

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,13 +34,13 @@ 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_FE606C6AB5394A5CA575039AB93B7661 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_5A49DC8F1DD04B6A9B1BDE142269D632 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_2F24870AA84641938106433ADC6CDF37 }}
- name: Login to Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_FE606C6AB5394A5CA575039AB93B7661 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_5A49DC8F1DD04B6A9B1BDE142269D632 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_2F24870AA84641938106433ADC6CDF37 }}

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
Expand All @@ -49,4 +49,4 @@ jobs:
app-name: 'training20240424'
slot-name: 'Production'
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'


0 comments on commit a421989

Please sign in to comment.