Skip to content

Commit

Permalink
Multi-parameters YAML File
Browse files Browse the repository at this point in the history
  • Loading branch information
sha-cmd committed May 6, 2022
1 parent ea75ec9 commit 92824e0
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/deployWebApp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
on: [push]
name: Azure ARM

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -21,12 +23,19 @@ jobs:
resourceGroupName: ${{ secrets.AZURE_RG }}
template: ./azuredeploy.json
parameters:
hostingPlanName: socketbot_App_service_plan
webSiteName: vendredi_13_mai_2022
skuName: F1
skuCapacity: 1
location: westeurope


# output containerName variable from template
- name: hostingPlanName
type: string
default: socketbot_App_service_plan
- name: webSiteName
type: string
default: vendredi_13_mai_2022
- name: skuName
type: string
default: F1
- name: skuCapacity
type: number
default: 1
- name: location
type: string
default: westeurope
- run: echo ${{ steps.deploy.outputs.containerName }}

0 comments on commit 92824e0

Please sign in to comment.