From 983c1dc2d97ec68039a659444550968c2ca1300d Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Tue, 15 Oct 2024 12:46:37 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd5bfcd..6fb26c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,13 +2,15 @@ name: Build and deploy ASP.Net Core app to Azure Web App - DotNetNC on: + push: + branches: ["main"] workflow_dispatch: jobs: build: - runs-on: windows-latest + runs-on: macos-latest steps: - uses: actions/checkout@v4