Skip to content

Commit 58c8b6d

Browse files
committed
update deploy
1 parent 607b2c1 commit 58c8b6d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
name: Manual Deploy
1+
name: Manual Deploy ARM
22

33
on:
44
workflow_dispatch:
55

6+
7+
env:
8+
targetEnv: dev
9+
610
jobs:
711
deploy:
812
runs-on: ubuntu-latest
@@ -15,6 +19,9 @@ jobs:
1519
uses: azure/login@v1
1620
with:
1721
creds: ${{ secrets.AZURE_CREDENTIALS }}
22+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
23+
tenant-id: ${{secrets.AZURE_TENANT_ID}}
24+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
1825
enable-AzPSSession: true
1926

2027
- name: Deploy ARM Template
@@ -25,6 +32,7 @@ jobs:
2532
resourceGroupName: ${{ secrets.AZURE_RG }}
2633
template: src/InfrastructureAsCode/main.bicep
2734
#parameters: src/InfrastructureAsCode/main.parameters.json
35+
parameters: environment=${{ secrets.ENVIRONMENT }}
2836

2937
- name: Deploy application
3038
run: echo "Deploying application..."

0 commit comments

Comments
 (0)