Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyaustin committed Sep 3, 2024
2 parents cf21b99 + e1b0d3d commit a892a48
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/iac-fabric-dataplatform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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

0 comments on commit a892a48

Please sign in to comment.