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 != '' }}