Skip to content
Closed
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
10 changes: 5 additions & 5 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: 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-eastus2
LOCATION: eastus2
TEMPLATE-FILE: infra/webapp.bicep
SUBSCRIPTION-ID: YOUR-SUBS-ID
WEBAPP-NAME: eshoponweb-webapp-NAME
SUBSCRIPTION-ID: 3cceca46-d11c-4373-8cb3-a5404bb358c0
WEBAPP-NAME: devops-webapp-eastus2-53528580


jobs:
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) // Generate unique String for web app name
param sku string = 'B1' // The SKU of App Service Plan
param sku string = 'S1' // The SKU of App Service Plan
param location string = resourceGroup().location

var appServicePlanName = toLower('AppServicePlan-${webAppName}')
Expand Down