With the GitHub Actions azlogin and azdeploy you will be able to deploy resources in Azure.
- Clone this repository.
- Create following secrets in your repository
clientId
– RequiredclientSecret
– RequiredtenantId
– RequiredsubscriptionId
– Required
-
Change the parameters in your
parameters.json
. -
You might change following variables in your GitHub workflow
deploy.yml
resourceGroupName: "rg-storage"
resourceGroupLocation: "westeurope"
-
Commit your changes and your GitHub Workflow will start to run.
Note
You can create get the above details by running following command in your Azure environment (details)
az ad sp create-for-rbac --name "<spName>" --role contributor --scopes /subscriptions/<subscriptionId> --sdk-auth