From 0b960aabe8988757899bedff76586af33f2f6222 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Sat, 10 Apr 2021 12:22:17 +0400 Subject: [PATCH 01/35] Add or update the App Service deployment workflow configuration from Azure Portal. --- .github/workflows/master_ntmsapp1.yml | 57 +++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/master_ntmsapp1.yml diff --git a/.github/workflows/master_ntmsapp1.yml b/.github/workflows/master_ntmsapp1.yml new file mode 100644 index 0000000..02a3dfc --- /dev/null +++ b/.github/workflows/master_ntmsapp1.yml @@ -0,0 +1,57 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy ASP app to Azure Web App - ntmsapp1 + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: 'windows-latest' + + steps: + - uses: actions/checkout@v2 + + - name: Setup MSBuild path + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.5 + + - name: Restore NuGet packages + run: nuget restore + + - name: Publish to folder + run: msbuild /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="\published\" + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: ASP-app + path: '/published/**' + + deploy: + runs-on: 'windows-latest' + needs: build + environment: + name: 'production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: ASP-app + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'ntmsapp1' + slot-name: 'production' + publish-profile: ${{ secrets.AzureAppService_PublishProfile_3f3b61fd07e74cb5970b6299c5ce0117 }} + package: . \ No newline at end of file From 53ed5c9939bb7d3c29719d0a0e320800bfe44a48 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Sat, 10 Apr 2021 12:35:06 +0400 Subject: [PATCH 02/35] Add or update the App Service deployment workflow configuration from Azure Portal. --- .github/workflows/master_ntmsapp1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master_ntmsapp1.yml b/.github/workflows/master_ntmsapp1.yml index 02a3dfc..da4b1ca 100644 --- a/.github/workflows/master_ntmsapp1.yml +++ b/.github/workflows/master_ntmsapp1.yml @@ -53,5 +53,5 @@ jobs: with: app-name: 'ntmsapp1' slot-name: 'production' - publish-profile: ${{ secrets.AzureAppService_PublishProfile_3f3b61fd07e74cb5970b6299c5ce0117 }} + publish-profile: ${{ secrets.AzureAppService_PublishProfile_2db32449a851484f85b3d9e7ae28ecd1 }} package: . \ No newline at end of file From 59b65b3c459ecc37989cb56e396829d3bd038b17 Mon Sep 17 00:00:00 2001 From: Azure App Service Date: Sat, 10 Apr 2021 13:17:41 +0400 Subject: [PATCH 03/35] Remove the App Service deployment workflow configuration from Azure Portal. --- .github/workflows/master_ntmsapp1.yml | 57 --------------------------- 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/master_ntmsapp1.yml diff --git a/.github/workflows/master_ntmsapp1.yml b/.github/workflows/master_ntmsapp1.yml deleted file mode 100644 index da4b1ca..0000000 --- a/.github/workflows/master_ntmsapp1.yml +++ /dev/null @@ -1,57 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy ASP app to Azure Web App - ntmsapp1 - -on: - push: - branches: - - master - workflow_dispatch: - -jobs: - build: - runs-on: 'windows-latest' - - steps: - - uses: actions/checkout@v2 - - - name: Setup MSBuild path - uses: microsoft/setup-msbuild@v1.0.2 - - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.5 - - - name: Restore NuGet packages - run: nuget restore - - - name: Publish to folder - run: msbuild /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="\published\" - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 - with: - name: ASP-app - path: '/published/**' - - deploy: - runs-on: 'windows-latest' - needs: build - environment: - name: 'production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: ASP-app - - - name: Deploy to Azure Web App - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'ntmsapp1' - slot-name: 'production' - publish-profile: ${{ secrets.AzureAppService_PublishProfile_2db32449a851484f85b3d9e7ae28ecd1 }} - package: . \ No newline at end of file From 95f9f0788a62a15a6b11b94c6b7ae094dbe74d50 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Sat, 10 Apr 2021 13:18:04 +0400 Subject: [PATCH 04/35] Add or update the App Service deployment workflow configuration from Azure Portal. --- .github/workflows/master_ntmsapp1.yml | 57 +++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/master_ntmsapp1.yml diff --git a/.github/workflows/master_ntmsapp1.yml b/.github/workflows/master_ntmsapp1.yml new file mode 100644 index 0000000..3a0ce6a --- /dev/null +++ b/.github/workflows/master_ntmsapp1.yml @@ -0,0 +1,57 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy ASP app to Azure Web App - ntmsapp1 + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: 'windows-latest' + + steps: + - uses: actions/checkout@v2 + + - name: Setup MSBuild path + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.5 + + - name: Restore NuGet packages + run: nuget restore + + - name: Publish to folder + run: msbuild /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="\published\" + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: ASP-app + path: '/published/**' + + deploy: + runs-on: 'windows-latest' + needs: build + environment: + name: 'production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: ASP-app + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'ntmsapp1' + slot-name: 'production' + publish-profile: ${{ secrets.AzureAppService_PublishProfile_d3e6d0e9799c4fc3a3aed4a0309cb36c }} + package: . \ No newline at end of file From 61427d64176b1a17526d03a46c8db1531b8a2e63 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Tue, 13 Apr 2021 21:44:03 +0400 Subject: [PATCH 05/35] Add files via upload --- test1.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test1.html diff --git a/test1.html b/test1.html new file mode 100644 index 0000000..b1f7a24 --- /dev/null +++ b/test1.html @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + +
FirstnameLastnameAge
JillSmith50
EveJackson94
\ No newline at end of file From 17dddea701739ec9499fa9e09be3621f707390de Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Tue, 13 Apr 2021 21:59:26 +0400 Subject: [PATCH 06/35] Update Index.cshtml --- Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index 6f34e44..a576630 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -3,6 +3,6 @@ }
-

NTMS Azure Batch Sample web App1 Sunday April

+

NTMS Azure Batch Sample web Happy navratri Sunday April

NTMS
From 7215e4c39c108586a95c90ed254293907f503bd8 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Tue, 13 Apr 2021 21:59:37 +0400 Subject: [PATCH 07/35] Update Index.cshtml --- Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index a576630..e0b8218 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -3,6 +3,6 @@ }
-

NTMS Azure Batch Sample web Happy navratri Sunday April

+

NTMS Azure Batch Sample web Happy Navratri Sunday April

NTMS
From b670d606f6b2ceb18d1cf9e36d7cc288aab6bd57 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Tue, 13 Apr 2021 22:42:28 +0400 Subject: [PATCH 08/35] Update Index.cshtml --- Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index e0b8218..3c383d4 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -3,6 +3,6 @@ }
-

NTMS Azure Batch Sample web Happy Navratri Sunday April

+

NTMS Azure Batch Sample web Gudhi Padwa Sunday April

NTMS
From 21a4f09a33ef8b586766328842c264cbc68287e3 Mon Sep 17 00:00:00 2001 From: shaktiazure <82042227+shaktiazure@users.noreply.github.com> Date: Tue, 13 Apr 2021 23:21:13 +0400 Subject: [PATCH 09/35] Update Web.config --- Web.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web.config b/Web.config index d0470fb..dd8ed88 100644 --- a/Web.config +++ b/Web.config @@ -10,7 +10,7 @@ - +