Skip to content
Closed

pr #444

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/eshoponweb-cicd.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: eShopOnWeb Build and Test

#Triggers (uncomment line below to use it)
#on: [push, workflow_dispatch]
on: [push, workflow_dispatch]

#Environment variables https://docs.github.com/en/actions/learn-github-actions/environment-variables
env:
RESOURCE-GROUP: rg-eshoponweb-NAME
LOCATION: westeurope
RESOURCE-GROUP: rg-eshoponweb-vignesh
LOCATION: West US 2
TEMPLATE-FILE: infra/webapp.bicep
SUBSCRIPTION-ID: YOUR-SUBS-ID
WEBAPP-NAME: eshoponweb-webapp-NAME
SUBSCRIPTION-ID: 2e89365b-8864-49d5-b5f2-f3bb66426738
WEBAPP-NAME: eshoponweb-webapp-Vignesh

jobs:
#Build, test and publish .net web project in repository
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
subscriptionId: ${{ env.SUBSCRIPTION-ID }}
resourceGroupName: ${{ env.RESOURCE-GROUP }}
template: bicep-template/webapp.bicep
parameters: "webAppName=${{ env.WEBAPP-NAME }} location=${{ env.LOCATION }}"
parameters: webAppName=eshoponweb-webapp-vignesh location=centralindia
failOnStdErr: false

# Publish website to Azure App Service (WebApp)
Expand Down
2 changes: 1 addition & 1 deletion infra/webapp.bicep
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param webAppName string // = uniqueString(resourceGroup().id) // unique String gets created from az cli instructions
param sku string = 'S1' // The SKU of App Service Plan
param sku string = 'F1' // The SKU of App Service Plan
param location string = resourceGroup().location

var appServicePlanName = toLower('AppServicePlan-${webAppName}')
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// My First Change1
//secound
using System.Net.Mime;
using Ardalis.ListStartupServices;
using Azure.Identity;
Expand Down