Skip to content

Commit 4a0211a

Browse files
authored
Merge pull request #273 from launchdarkly-labs/cko_2025
Update
2 parents 9c1c535 + d2d3aa6 commit 4a0211a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: .github/workflows/cloud_demo_environment_provisioning.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
name:
77
description: 'Username'
88
required: true
9-
type:
10-
description: 'Type of environment to provision (eap or production)'
11-
required: true
129

1310
env:
1411
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
@@ -19,6 +16,7 @@ env:
1916
KUBECTL_VERSION: "v1.23.0"
2017
DEMO_NAMESPACE: ${{ github.event.inputs.name }}
2118
LD_PROJECT_KEY: ${{ github.event.inputs.name }}-ld-demo
19+
LD_API_KEY: ${{ secrets.LD_EAP_API_KEY }}
2220

2321

2422
jobs:
@@ -39,8 +37,8 @@ jobs:
3937
python -m pip install --upgrade pip
4038
pip install -r ./.github/workflows/demo_provisioning_scripts/requirements.txt
4139
42-
- name: Set LD_API_KEY
43-
run: echo "LD_API_KEY=$(if [ '${{ github.event.inputs.type }}' == 'production' ]; then echo '${{ secrets.LD_API_KEY }}'; elif [ '${{ github.event.inputs.type }}' == 'eap' ]; then echo '${{ secrets.LD_EAP_API_KEY }}'; else echo '${{ secrets.LD_API_KEY }}'; fi)" >> $GITHUB_ENV
40+
# - name: Set LD_API_KEY
41+
# run: echo "LD_API_KEY=$(if [ '${{ github.event.inputs.type }}' == 'production' ]; then echo '${{ secrets.LD_API_KEY }}'; elif [ '${{ github.event.inputs.type }}' == 'eap' ]; then echo '${{ secrets.LD_EAP_API_KEY }}'; else echo '${{ secrets.LD_API_KEY }}'; fi)" >> $GITHUB_ENV
4442

4543
- name: Create / Setup LaunchDarkly Project
4644
id: ld_project_setup

0 commit comments

Comments
 (0)