From c09321d89dd11d07cb7a0347ee1df1eb728ce647 Mon Sep 17 00:00:00 2001 From: Mahan Chamani <109232147+mahanch@users.noreply.github.com> Date: Mon, 29 Dec 2025 09:50:40 +0330 Subject: [PATCH] Update dotnet-developPublish.yml --- .github/workflows/dotnet-developPublish.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet-developPublish.yml b/.github/workflows/dotnet-developPublish.yml index 934a413f..07ffb835 100644 --- a/.github/workflows/dotnet-developPublish.yml +++ b/.github/workflows/dotnet-developPublish.yml @@ -3,10 +3,8 @@ name: Deploy Development ASP.NET Core App to IIS on: push: branches: - - Main + - Master -env: - DOTNET_ENVIRONMENT: Development jobs: build-and-deploy: @@ -37,12 +35,8 @@ jobs: & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" ` -verb:sync ` -source:contentPath="$publishFolder" ` - -dest:contentPath="dadmehrg",computerName="https://171.22.24.15:8172/msdeploy.axd?site=dadmehrg",userName="Administrator",password="R",authType="Basic" ` + -dest:contentPath="dadmehrg",computerName="https://185.208.175.186:8172/msdeploy.axd?site=gozareshgir",userName="deployUser",password="As@D3eP%L%oYU$ser",authType="Basic" ` -allowUntrusted ` -enableRule:AppOffline - env: - SERVER_HOST: your-server-ip-or-domain - DEPLOY_USER: ${{ secrets.DEPLOY_USER }} - DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}