Skip to content

spare /

spare / #403

name: Upload Azure B2C Custom Policies
on: push
jobs:
schema:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [dev, test, demo, stg, prod]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: 'Upload B2C Custom Policies'
uses: azure-ad-b2c/deploy-trustframework-policy@v3
with:
folder: './b2c/custom_policies/${{ matrix.environment }}'
files: 'TrustFrameworkBase.xml,TrustFrameworkLocalization.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml,ProfileEdit.xml,PasswordReset.xml'
tenant: 'hmcts${{ matrix.environment }}extid.onmicrosoft.com'
clientId: ${{ secrets.PRE_MANAGEMENT_APP_CLIENT_ID }}
clientSecret: ${{ secrets.PRE_MANAGEMENT_APP }}