diff --git a/.github/workflows/api.main.yml b/.github/workflows/api.main.yml index c39b41c..ce91713 100644 --- a/.github/workflows/api.main.yml +++ b/.github/workflows/api.main.yml @@ -20,10 +20,10 @@ jobs: uses: actions/checkout@v4 # If you want to use Azure RBAC instead of Publish Profile, then uncomment the task below - # - name: 'Login via Azure CLI' - # uses: azure/login@v1 - # with: - # creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }} # set up AZURE_RBAC_CREDENTIALS secrets in your repository + - name: 'Login via Azure CLI' + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} # set up AZURE_RBAC_CREDENTIALS secrets in your repository - name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment uses: actions/setup-dotnet@v4 @@ -43,6 +43,6 @@ jobs: with: app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }} package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output' - publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }} # Remove publish-profile to use Azure RBAC + # publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }} # Remove publish-profile to use Azure RBAC sku: flexconsumption remote-build: false