Skip to content

segraef/azdeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action azdeploy

This action can be used to create or update a resource group in Azure using the Azure Resource Manager templates.
One can also use this to delete a resource group, including all the resources within the resource group.

To be able to deploy resources your Action needs to be logged into Azure. The Action azlogin does that for you.

Usage


- uses: segraef/azdeploy@v1
  with:
    resourceGroupName: "rg-deploy"
    resourceGroupLocation: "westeurope"
    templateFile: "deploy.json"
    parametersFile: "parameters.json"

Requirements

segraef/azlogin@v1

Variables

  • resourceGroupCommandOptional.

    • If resourceGroupCommand is not specified or is "create"

      • resourceGroupNameMandatory
      • resourceGroupLocationMandatory
      • templateFileMandatory - Relative path in your github repository.
      • parametersFileMandatory - Relative path in your github repository.
      • templateUriOptional - Template Uri.
      • parametersUriOptional - Parameters URI.
    • If resourceGroupCommand is "delete"

      • resourceGroupNameMandatory