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 }}