Merge pull request #53 from jacksonkays/update-metadata #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bicep -> ARM | |
on: | |
push: | |
branches: [main] | |
paths: | |
# only run if bicep files changed | |
- 'Environments/**/*.bicep' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Bicep -> ARM | |
run: python ./tools/build-arm.py | |
- name: Commit changes | |
run: | | |
git config --global user.name "${{ github.actor }}" | |
git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
git commit -am "Rebuild ARM templates" | |
git push |