From 4538f2330078894315cb4c39c88fd4beba28c201 Mon Sep 17 00:00:00 2001 From: Calin Lupas Date: Mon, 17 Mar 2025 22:01:04 -0400 Subject: [PATCH 1/2] Rename build job to cicd and update job name for clarity in CI/CD workflow --- .github/workflows/cicd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c9d3dfe..984ea2f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -13,7 +13,9 @@ env: DOTNET_VERSION: '9.0.x' # set this to the dot net version to use jobs: - build: + cicd: + name: Build and Deploy to Azure Web App + runs-on: ubuntu-latest steps: From cc54e8dc1033beabbde106360658b7280ef8e9b7 Mon Sep 17 00:00:00 2001 From: Calin Lupas Date: Mon, 17 Mar 2025 22:04:29 -0400 Subject: [PATCH 2/2] Update CI/CD workflow to trigger on push events to the main branch --- .github/workflows/cicd.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 984ea2f..c85cd61 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,6 +1,9 @@ name: CI/CD for Azure Web App -on: [push] +on: + push: + branches: + - main permissions: id-token: write