Skip to content

Commit

Permalink
Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Aug 20, 2024
1 parent d332e30 commit f86a5e8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID}}
AZURE_ENV_NAME: prd
AZURE_LOCATION: australiaeast
AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}

steps:
- name: Checkout
Expand All @@ -48,13 +50,15 @@ jobs:
- name: Log in with Azure (Federated Credentials)
run: |
azd auth login `
--client-id "${{ secrets.AUTH_CLIENT_ID }}"`
--client-id "$Env:AZURE_CLIENT_ID" `
--federated-credential-provider "github" `
--tenant-id "${{ secrets.AUTH_CLIENT_SECRET }}"
--tenant-id "$Env:AZURE_TENANT_ID"
shell: pwsh

- name: Provision Infrastructure
run: azd provision --no-prompt
env:
AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}

- name: Build application
run: pnpm nx build website
Expand Down

0 comments on commit f86a5e8

Please sign in to comment.