Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alguadam committed Oct 28, 2024
2 parents 65cc575 + 23d9d4b commit eea67bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ie-bank-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: ie-bank-infra
on:
workflow_dispatch:
push:
paths:
- '!scripts/**'
paths-ignore:
- 'scripts/**'

env:
RESOURCE_GROUP_DEV: aguadamillas_resources
RESOURCE_GROUP_DEV: BCSAI2024-DEVOPS-PROFESSORS
SUBSCRIPTION_ID_DEV: e0b9cada-61bc-4b5a-bd7a-52c606726b3b
USER_ALIAS: aguadamillas

Expand Down Expand Up @@ -36,13 +36,13 @@ jobs:
- uses: actions/checkout@main

# Log into Azure
- uses: azure/login@v1
- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

# Deploy Bicep file
- name: deploy
uses: azure/arm-deploy@v1
uses: azure/arm-deploy@v2
with:
subscriptionId: ${{ env.SUBSCRIPTION_ID_DEV }}
resourceGroupName: ${{ env.RESOURCE_GROUP_DEV }}
Expand Down
2 changes: 1 addition & 1 deletion modules/app-service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ param appServiceAPIDBHostFLASK_DEBUG string
])
param environmentType string

var appServicePlanSkuName = (environmentType == 'prod') ? 'B1' : 'F1'
var appServicePlanSkuName = (environmentType == 'prod') ? 'B1' : 'B1'

resource appServicePlan 'Microsoft.Web/serverFarms@2022-03-01' = {
name: appServicePlanName
Expand Down

0 comments on commit eea67bd

Please sign in to comment.