Merge branch 'main' of https://github.com/caleteeter/polygon-azure #41
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-build | |
on: | |
push: | |
branches: | |
- main | |
- caleteet-rpc-idx | |
jobs: | |
bicep-build: | |
name: bicep-build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Run bicep lint | |
uses: synergy-au/bicep-lint-action@v1 | |
with: | |
analyse-all-files: 'true' | |
- name: Run bicep build | |
uses: Azure/[email protected] | |
with: | |
bicepFilePath: main.bicep | |
outputFilePath: marketplace/azureDeploy.json | |
- name: Add new template | |
run: git add marketplace/azureDeploy.json | |
- name: Commit the template | |
uses: swinton/[email protected] | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
marketplace/azureDeploy.json | |
commit-message: "Commiting new templates" |