Skip to content

Commit 8160fb2

Browse files
Karacs PéterKaracs Péter
authored andcommitted
deploy infra
1 parent e626264 commit 8160fb2

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1-
name: Deploy Bicep to Azure
1+
name: Deploy Infrastructure
22

33
on:
44
push:
55
branches:
66
- main
7+
workflow_dispatch:
78

89
jobs:
910
deploy:
10-
concurrency:
11-
group: azure-deployment
12-
cancel-in-progress: true
1311
runs-on: ubuntu-latest
1412

1513
steps:
16-
- name: Checkout Code
17-
uses: actions/checkout@v3
14+
- name: Checkout code
15+
uses: actions/checkout@v4
1816

19-
- name: Login to Azure
17+
- name: Azure Login
2018
uses: azure/login@v1
2119
with:
2220
creds: ${{ secrets.AZURE_CREDENTIALS }}
2321

24-
- name: Deploy Bicep Template
22+
- name: Deploy Bicep
2523
uses: azure/arm-deploy@v1
2624
with:
27-
scope: resourcegroup
2825
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2926
resourceGroupName: BCSAI2024-DEVOPS-STUDENTS-A-DEV
3027
template: ./main.bicep
3128
parameters: ./main.parameters.json
32-
deploymentName: webapp-deployment-${{ github.run_number }}
3329
failOnStdErr: false

0 commit comments

Comments
 (0)