From b000f92c8599bcc31f9c0e5ec8c8617153366144 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Tue, 2 Apr 2024 13:54:34 -0700 Subject: [PATCH] Update azure-dev.yaml --- .github/workflows/azure-dev.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/azure-dev.yaml b/.github/workflows/azure-dev.yaml index bc88b4d..a7f5674 100644 --- a/.github/workflows/azure-dev.yaml +++ b/.github/workflows/azure-dev.yaml @@ -1,9 +1,10 @@ on: - workflow_dispatch: - push: - # Run when commits are pushed to mainline branch - branches: - - main + workflow_dispatch: + push: + # Run when commits are pushed to mainline branch (main or master) + # Set this to the mainline branch you are using + branches: + - main # GitHub Actions workflow to deploy to Azure using azd # To configure required secrets for connecting to Azure, simply run `azd pipeline config` @@ -24,10 +25,10 @@ jobs: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install azd - uses: Azure/setup-azd@v0.1.0 + uses: Azure/setup-azd@v1.0.0 - name: Log in with Azure (Federated Credentials) if: ${{ env.AZURE_CLIENT_ID != '' }}