Provision Fabric Data Platform #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Provision Fabric Data Platform | |
on: workflow_dispatch | |
# on: | |
# push: | |
# branches: | |
# - main | |
# paths: | |
# - '**.bicep' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout code | |
- uses: actions/checkout@v3 | |
#Log into Azure | |
- uses: azure/login@v1 | |
with: | |
creds: '{"clientId":"${{ secrets.ACTION_SPN_CLIENTID }}","clientSecret":"${{ secrets.ACTION_SPN_SECRET }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID }}","tenantId":"${{ secrets.TENANT_ID }}"}' | |
# Deploy Bicep file | |
- name: deploy | |
uses: azure/arm-deploy@v1 | |
with: | |
scope: subscription | |
region: australiaeast | |
subscriptionId: ${{ secrets.SUBSCRIPTION_ID }} | |
template: iac/bicep/main.bicep | |
# parameters: 'k1=v1 k2=v2 k3=v3' | |
failOnStdErr: false |