Skip to content

Commit

Permalink
[DEVOPS-XXX] Switch to new Docker-based B2C deploy-trustframework-pol…
Browse files Browse the repository at this point in the history
…icy action (#53)

<!--
We appreciate the effort for this pull request but before that please
make sure you read the contribution guidelines, then fill out the blanks
below.

Please format the PR title appropriately based on the type of change:
  [<issue>]: <description>
Where <issue> is the related Jira Issue Key.
-->

## Description

- Switch to new Docker-based deploy-trustframework-policy action after
abandoning the old/deprecated-ish action that does not return error
messages when failing.

## Related Issues

<!-- List any related Jira issues here -->

- Jira Issue: N/A
  • Loading branch information
ebronson68 committed Aug 16, 2023
1 parent 407d881 commit 2841c55
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/b2c-build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
required: true
type: string
description: "Domain name of the B2C tenant."
azureB2CTenantId:
required: true
type: string
description: "Tenant Id for the B2C tenant."
azureB2CProductUrl:
required: false
type: string
Expand Down Expand Up @@ -83,14 +87,14 @@ jobs:
yarn generate
- name: Upload TrustFrameworkBase Policy
uses: azure-ad-b2c/deploy-trustframework-policy@v5.3
uses: Andrews-McMeel-Universal/deploy-trustframework-policy@v5
with:
folder: "./dist/custom-policies"
files: "B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_BASE.xml,B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_EXTENSIONS.xml,B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_POLICIES.xml,B2C_1A_${{ inputs.azureB2CProductId }}_IMPERSONATION.xml,B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_IMPERSONATION.xml"
tenant: ${{ inputs.azureB2CDomain }}
files: "B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_BASE.xml,B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_EXTENSIONS.xml,B2C_1A_${{ inputs.azureB2CProductId }}_SIGNINSIGNOUT_POLICIES.xml,B2C_1A_${{ inputs.azureB2CProductId }}_IMPERSONATION.xml"
tenantDomain: ${{ inputs.azureB2CDomain }}
tenantId: ${{ inputs.azureB2CTenantId }}
clientId: ${{ secrets.azureB2CClientId }}
clientSecret: ${{ secrets.azureB2CClientSecret }}
verbose: ${{ secrets.ACTIONS_STEP_DEBUG || vars.ACTIONS_STEP_DEBUG || env.ACTIONS_STEP_DEBUG || 'false' }}

- name: Upload Auth Assets
uses: azure/powershell@v1
Expand Down

0 comments on commit 2841c55

Please sign in to comment.