Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEVOPS-XXX] Use new v6 version of deploy B2C policy action #54

Merged
merged 5 commits into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/b2c-build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ on:
required: false
type: string
description: "URL of the B2C Product."
azureB2CProductId:
required: true
type: string
description: "ID of the B2C product."
secrets:
azureCredentials:
required: true
Expand Down Expand Up @@ -87,14 +83,14 @@ jobs:
yarn generate

- name: Upload TrustFrameworkBase Policy
uses: Andrews-McMeel-Universal/deploy-trustframework-policy@v5
uses: Andrews-McMeel-Universal/deploy-trustframework-policy@v6
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"
tenantDomain: ${{ inputs.azureB2CDomain }}
tenantId: ${{ inputs.azureB2CTenantId }}
clientId: ${{ secrets.azureB2CClientId }}
clientSecret: ${{ secrets.azureB2CClientSecret }}
folder: "./dist/custom-policies/"
files: "B2C_1A_${{ env.AZURE_B2C_PRODUCT_ID }}_SIGNINSIGNOUT_BASE.xml,B2C_1A_${{ env.AZURE_B2C_PRODUCT_ID }}_SIGNINSIGNOUT_EXTENSIONS.xml,B2C_1A_${{ env.AZURE_B2C_PRODUCT_ID }}_SIGNINSIGNOUT_POLICIES.xml,B2C_1A_${{ env.AZURE_B2C_PRODUCT_ID }}_IMPERSONATION.xml,B2C_1A_${{ env.AZURE_B2C_PRODUCT_ID }}_SIGNINSIGNOUT_IMPERSONATION.xml"
tenantDomain: ${{ env.AZURE_B2C_DOMAIN }}
tenantId: ${{ env.AZURE_B2C_TENANT_ID }}
clientId: ${{ env.AZURE_B2C_CLIENT_ID }}
clientSecret: ${{ env.AZURE_B2C_CLIENT_SECRET }}

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