Skip to content

appropriate name for NSG #22

appropriate name for NSG

appropriate name for NSG #22

name: Generate ARM Template
on:
push:
branches:
- master
paths:
- '**/*.bicep'
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions: # Job-level permissions configuration starts here
contents: write # 'write' access to repository contents
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Generate ARM template
run: az bicep build --file azuredeploy.bicep
- name: Commit and push generated ARM template
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add azuredeploy.json
git commit -m 'Generate ARM template from Bicep'
git push