forked from MagsOrton/json-transformation-logicapp
-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (37 loc) · 1.19 KB
/
IaC_deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Logic App Infrastructure as Code Pipeline.
on:
workflow_dispatch:
push:
paths:
- "solution/ARM/**"
- ".github/workflows/IaC_deploy.yml"
permissions:
id-token: write
contents: read
jobs:
DeployDev:
name: Deploy to Dev
runs-on: ubuntu-latest
environment:
name: Dev
steps:
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true
# Checkout
- name: Checkout
uses: actions/checkout@v1
# Deployment of ARM template
- name: Deploy Logic App Resources
uses: Azure/arm-deploy@v1.0.1
id: ladeploy
with:
# You can change these environment variables for your configuration: AZURE_SUBSCRIPTION_ID, AZURE_RESOURCE_GROUP
scope: resourcegroup
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP }}
template: solution/ARM/la-template.json # Set this to the location of your template file
parameters: solution/ARM/la-parameters.json # Set this to the location of your parameters file
deploymentMode: Incremental