Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidImmanuelSchwieder committed Mar 25, 2024
2 parents af75b7c + 8308a27 commit 745c956
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy Bicep file
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@main

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

- name: Deploy Bicep file 1
run: |
az deployment group create --resource-group ${{ secrets.AZURE_RG }} --name Userstory1Deployment --template-file ./UserStory1/deploy-app.bicep --parameters ./Userstory1/dev.json --mode complete
- name: Deploy Bicep file 2 und 3
run: |
az deployment group create --resource-group ${{ secrets.AZURE_RG }} --name Userstory2Deployment --template-file ./UserStory2und3/iotsetup.bicep --parameters ./Userstory2und3/test.json --mode complete

0 comments on commit 745c956

Please sign in to comment.