DEV Community

Discussion on: Gitlab CI script to deploy a Azure Function

Collapse
 
arturoaviles profile image
Arturo Avilés • Edited

Very useful, I have been looking for this ci/cd config file for a long time ago, thanks!

I would recommend to use a Service Principal to Login to Azure to deploy with CI/CD:

az login --service-principal -u $AZ_SERVICE_PRINCIPAL_URL -p $AZ_SERVICE_PRINCIPAL_PASSWORD --tenant $AZ_SERVICE_PRINCIPAL_TENANT
Collapse
 
alandecastros profile image
Alan Castro

Nice! I'll update the post! Thanks!