Skip to content

Workflow file for this run

name: Deploy Azure
on:
workflow_dispatch:
push:
paths:
- 'deployment/**'
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Azure Login
run: az login --service-principal -u ${{ secrets.DEPLOY_CLIENT_ID }} -p ${{ secrets.DEPLOY_SECRET }} --tenant ${{ secrets.TENANT_ID }}
- name: Azure Subscription Set
run: az account set --name ${{ secrets.SUBSCRIPTION }}
- name: Deploy infra
run: |
cd deployment/infra
bash deploy-infra.sh ${{ secrets.RESOURCE_GROUP }} ${{ secrets.KUSTO_INGEST_URI }} ${{ secrets.KUSTO_DB }} ${{ secrets.KUSTO_TABLE }}