diff --git a/.github/workflows/01-CreateAzureResources.yml b/.github/workflows/01-CreateAzureResources.yml index 826e519..66b872e 100644 --- a/.github/workflows/01-CreateAzureResources.yml +++ b/.github/workflows/01-CreateAzureResources.yml @@ -37,4 +37,4 @@ jobs: echo "Resource Group ${{ env.AZ_RG_NAME }} already exists." fi - az deployment group create --name gh-actions --resource-group ${{ env.AZ_RG_NAME }} --template-file src/github-dashboard.iac/main.bicep --parameters appServicePlanName=${{ env.AZ_APP_NAME }} webAppName=${{ env.AZ_APP_NAME }} storageName=${{ env.AZ_APP_NAME }} logAnalyticsName=${{ env.AZ_APP_NAME }} appInsightName=${{ env.AZ_APP_NAME }} functionName=${{ env.AZ_APP_NAME }} sqlserverName=${{ env.AZ_SQL_NAME }} sqlAdminLogin=${{ env.AZ_SQL_USER }} sqlAdminPassword=${{ secrets.AZ_SQL_PASSWORD }} \ No newline at end of file + az deployment group create --name gh-actions --resource-group ${{ env.AZ_RG_NAME }} --template-file src/github-dashboard.iac/main.bicep --parameters appServicePlanName=${{ env.AZ_APP_NAME }} webAppName=${{ env.AZ_APP_NAME }} storageName=${{ env.AZ_APP_NAME }} logAnalyticsName=${{ env.AZ_APP_NAME }} appInsightName=${{ env.AZ_APP_NAME }} functionName=${{ env.AZ_APP_NAME }} sqlserverName=${{ env.AZ_SQL_NAME }} sqlAdminLogin=${{ env.AZ_SQL_USER }} sqlAdminPassword=${{ secrets.AZ_SQL_PASSWORD }} --debug \ No newline at end of file diff --git a/README.md b/README.md index d5bfb84..104a440 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ This repository contains an example of how to extract workflow execution data an ### Step 01 - Create Azure Resources +Create GitHub secrets for Azure Login (AZ_CREDENTIALS) and SQL Server password (AZ_SQL_PASSWORD). + To create the Azure resources, you can run the workflow [01-CreateAzureResources.yml](.github/workflows/01-CreateAzureResources.yml). ### Step 02 - Deploy the API