Skip to content

Update deploy-bicep.yaml #12

Update deploy-bicep.yaml

Update deploy-bicep.yaml #12

Workflow file for this run

name: Deploy Bicep to Azure
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Verify Modules Checkout
run: |
ls -al
ls -al ./modules
- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Deploy Bicep
uses: azure/arm-deploy@v1
with:
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
resourceGroupName: ${{ secrets.AZURE_RESOURCE_GROUP }}
template: ./DemoEnvironment.bicep
parameters: ./DemoEnvironment.parameters.json
deploymentMode: Complete