From 13a44b9599e09299b23c50c5fb0565f536d048fc Mon Sep 17 00:00:00 2001 From: David Pine Date: Tue, 20 Feb 2024 18:54:16 -0600 Subject: [PATCH] Update azure-dev.yml (#3282) * Update azure-dev.yml Related to https://github.com/Azure-Samples/azd-starter-bicep/pull/1 * Apply suggestions from code review Co-authored-by: Victor Vazquez --------- Co-authored-by: Victor Vazquez --- .../common/.github/workflows/bicep/azure-dev.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/templates/common/.github/workflows/bicep/azure-dev.yml b/templates/common/.github/workflows/bicep/azure-dev.yml index 3bcff7a93b2..464d83ca6c6 100644 --- a/templates/common/.github/workflows/bicep/azure-dev.yml +++ b/templates/common/.github/workflows/bicep/azure-dev.yml @@ -23,10 +23,11 @@ jobs: AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }} AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }} AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }} - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} + AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} + AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install azd uses: Azure/setup-azd@v0.1.0 @@ -56,14 +57,6 @@ jobs: - name: Provision Infrastructure run: azd provision --no-prompt - env: - AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} - AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} - AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }} - name: Deploy Application run: azd deploy --no-prompt - env: - AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} - AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} - AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}