File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
name :
7
7
description : ' Username'
8
8
required : true
9
- type :
10
- description : ' Type of environment to provision (eap or production)'
11
- required : true
12
9
13
10
env :
14
11
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY }}
19
16
KUBECTL_VERSION : " v1.23.0"
20
17
DEMO_NAMESPACE : ${{ github.event.inputs.name }}
21
18
LD_PROJECT_KEY : ${{ github.event.inputs.name }}-ld-demo
19
+ LD_API_KEY : ${{ secrets.LD_EAP_API_KEY }}
22
20
23
21
24
22
jobs :
39
37
python -m pip install --upgrade pip
40
38
pip install -r ./.github/workflows/demo_provisioning_scripts/requirements.txt
41
39
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
44
42
45
43
- name : Create / Setup LaunchDarkly Project
46
44
id : ld_project_setup
You can’t perform that action at this time.
0 commit comments