Each time a commit is pushed:
- Git repository is cloned
- Python is installed
- Python dependencies are installed
- The Function App is pushed to Azure
# Generate the credentials for deploying the Function App
az ad sp create-for-rbac --name "fa-rating-team2-oh-fc" --role contributor --scopes /subscriptions/40b7492d-d085-4700-9d53-59c0db2e7e3c/resourceGroups/rg-team2/providers/Microsoft.Web/sites/fa-rating-team2-oh-fc --sdk-auth
Store the output secret from the CLI. Create a new secret fir GitHub Actions named AZURE_CREDENTIALS
with that content.