Skip to content

Commit 2304b0f

Browse files
committed
update build process to include cookiebot env var
1 parent f8e1bf0 commit 2304b0f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Build and Upload to S3
33
on:
44
workflow_call:
55
inputs:
6-
cookiebot_domain_group_id:
7-
required: false
8-
default: "1e9a6bdd-5870-4d54-8e5f-adcf6b5c5499"
9-
type: string
106
environment:
117
required: true
128
type: string
@@ -30,6 +26,10 @@ on:
3026
required: false
3127
default: "https://staging-auth-v1.raspberrypi.org"
3228
type: string
29+
react_app_cookiebot_domain_group_id:
30+
required: false
31+
default: "1e9a6bdd-5870-4d54-8e5f-adcf6b5c5499"
32+
type: string
3333
react_app_login_enabled:
3434
required: false
3535
default: "true"
@@ -87,11 +87,11 @@ jobs:
8787
yarn build
8888
yarn build:wc
8989
env:
90-
COOKIEBOT_DOMAIN_GROUP_ID: ${{ inputs.cookiebot_domain_group_id }}
9190
PUBLIC_URL: ${{ needs.setup-environment.outputs.public_url }}
9291
REACT_APP_API_ENDPOINT: ${{ inputs.react_app_api_endpoint }}
9392
REACT_APP_AUTHENTICATION_CLIENT_ID: ${{ inputs.react_app_authentication_client_id }}
9493
REACT_APP_AUTHENTICATION_URL: ${{ inputs.react_app_authentication_url }}
94+
REACT_APP_COOKIEBOT_DOMAIN_GROUP_ID: ${{ inputs.react_app_cookiebot_domain_group_id }}
9595
REACT_APP_LOGIN_ENABLED: ${{ inputs.react_app_login_enabled }}
9696

9797
- name: Deploy site to S3 bucket

0 commit comments

Comments
 (0)