A GitHub action to automate your workflow to deploy ARM templates.
Usage
Sample workflow to build and deploy a ARM template.
# File: .github/workflows/workflow.yml
on: [push]
name: ARM Sample
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- uses: azure/arm-deploy@v1
with:
subscriptionId: e1046c08-7072-****-****-************
resourceGroupName: myrg
template: ./azuredeploy.json
parameters: storageAccountType=Standard_LRS
License
This GitHub action is licensed under the MIT License.