Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseloudon committed Mar 11, 2021
2 parents f40fc72 + aff968a commit cacfa64
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/Bicep-Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Bicep-Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "0 0 * * *" #at the end of every day

jobs:

Bicep-Build:
env:
ARM_CLIENT_ID: ${{ secrets.az_client_id }}
ARM_CLIENT_SECRET: ${{ secrets.az_client_secret }}
ARM_SUBSCRIPTION_ID: ${{ secrets.az_subscription_id }}
ARM_TENANT_ID: ${{ secrets.az_tenant_id }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bicep Build
uses: aliencube/[email protected]
with:
# List of .bicep files to build, delimited by a space. eg) file1 file2 file3 ...
#files: '**/*.bicep'
files: ./deployifnotexists-policy-with-initiative-and-assignment/main.bicep
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# bicep-policy-examples
Collection of Azure Policy examples using Bicep by @jesseloudon
[![Bicep-Build](https://github.com/globalbao/bicep-policy-examples/actions/workflows/Bicep-Build.yml/badge.svg)](https://github.com/globalbao/bicep-policy-examples/actions/workflows/Bicep-Build.yml)

Collection of Azure Policy examples using Bicep :muscle: by @jesseloudon

Get in touch :octocat:

Expand All @@ -10,4 +12,6 @@ Get in touch :octocat:

Learning resources :books:
* [https://github.com/Azure/bicep](https://github.com/Azure/bicep)
* [https://docs.microsoft.com/en-us/azure/governance/policy/overview](https://docs.microsoft.com/en-us/azure/governance/policy/overview)
* [https://docs.microsoft.com/en-us/azure/governance/policy/overview](https://docs.microsoft.com/en-us/azure/governance/policy/overview)

*Icon Author* [monkik](https://www.flaticon.com/authors/monkik)

0 comments on commit cacfa64

Please sign in to comment.