Open mzubova opened 3 years ago
Small update: was able to reproduce the issue locally without github actions.
When deploying an app using service principle account, no changes appear for the function app (although I can see a package in deployment artifacts). Same operation but using my own account - and it all works just fine. Both sp and my account have the same permissions.
Also, if to delete both function app and app service plan, it is being recreated with my account but fails with sp:
Serverless: {"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.Web/sites/***' under resource group '***' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}
Error ---------------------------------------------------
Error: 'functionApp' cannot be null or undefined
at Function.Guard.null (/Users/maria.zubova/Projects/***i/node_modules/serverless-azure-functions/lib/shared/guard.js:27:19) ```
This is a Bug Report
Description
When I make a sls deployment to Azure by means of github actions (new functions or changes in existing ones), my changes don't get deployed (although I don't see any errors or anything weird in the logs). When I do
sls deploy
locally - it all works just fine.Here's an example of my github action:
And that's the serverless.yaml:
I've checked forums and places, and my configs don't look that very different from the examples. Could you please kindly advice on what can be wrong and which settings (maybe in Azure) I need to look into?