diff --git a/.github/workflows/master_shaguftaapp1.yml b/.github/workflows/master_shaguftaapp1.yml new file mode 100644 index 0000000..d3b736d --- /dev/null +++ b/.github/workflows/master_shaguftaapp1.yml @@ -0,0 +1,56 @@ +# 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 - shaguftaapp1 + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + permissions: + contents: read #This is required for actions/checkout + + steps: + - uses: actions/checkout@v4 + + - 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@v4 + with: + name: ASP-app + path: '/published/**' + + deploy: + runs-on: windows-latest + needs: build + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v4 + with: + name: ASP-app + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@v3 + with: + app-name: 'shaguftaapp1' + slot-name: 'Production' + package: . + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_4AF5B244297D4E5AAE0293F2F27F4D7C }} \ No newline at end of file diff --git a/aspnet-get-started/Views/Home/Index.cshtml b/aspnet-get-started/Views/Home/Index.cshtml index e152a42..9422d60 100644 --- a/aspnet-get-started/Views/Home/Index.cshtml +++ b/aspnet-get-started/Views/Home/Index.cshtml @@ -1,29 +1,34 @@ -@{ - ViewBag.Title = "Test CICD Page"; -} - -
-

This is developed byTim,Rashmi,Joo,Chad and Andrew

-

Welcome To Azure Advance Administration Training

-

Learn more »

-
- -
-
-

GitHub

-

- ASP.NET MVC gives you a powerful, Testing CICD. -

-

Learn more »

-
-
-

My Libraries

-

NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.

-

Learn more »

-
-
-

Host your web

-

You can easily find a web hosting company that offers the right mix of features and price for your applications.

-

Learn more »

-
-
+ + + + www.bipeensinha.com + + +

Pay here for AZ-204 course + +

+ +
+ + + + + + + + + + + + + + + + +
+ + +