Skip to content

Add script to list Azure user permissions #15

Add script to list Azure user permissions

Add script to list Azure user permissions #15

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: deploy-to-azure
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Azure Login
uses: Azure/login@v1
with:
# Paste output of `az ad sp create-for-rbac` as value of secret variable: AZURE_CREDENTIALS
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Deploy Azure Resource Manager (ARM) Template
uses: Azure/arm-deploy@v1
with:
# Provide the scope of the deployment. Valid values are: 'resourcegroup', 'managementgroup', 'subscription'
scope: 'resourcegroup'
# Override the Subscription Id set by Azure Login.
resourceGroupName: 'mf-ghactions-demo'
# Specify the path or URL to the Azure Resource Manager template.
template: 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/100-blank-template/azuredeploy.json'
# Incremental (only add resources to resource group) or Complete (remove extra resources from resource group) or Validate (only validates the template).