File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ inputs:
11
11
GROWTHBOOK_CLIENT_KEY :
12
12
description : " Growthbook client key for initialising analytics"
13
13
required : false
14
+ REMOTE_CONFIG_URL :
15
+ description : " Remote config for enabling cs chat tools"
16
+ required : false
14
17
runs :
15
18
using : composite
16
19
steps :
19
22
TARGET_ENV : ${{ inputs.target }}
20
23
RUDDERSTACK_KEY : ${{ inputs.RUDDERSTACK_KEY }}
21
24
GROWTHBOOK_CLIENT_KEY : ${{ inputs.GROWTHBOOK_CLIENT_KEY }}
25
+ REMOTE_CONFIG_URL : ${{ inputs.REMOTE_CONFIG_URL }}
22
26
run : node_modules/grunt/bin/grunt releaseci --$TARGET_ENV
23
- shell : bash
27
+ shell : bash
Original file line number Diff line number Diff line change @@ -51,13 +51,15 @@ jobs:
51
51
target : staging
52
52
RUDDERSTACK_KEY : ${{ vars.RUDDERSTACK_KEY }}
53
53
GROWTHBOOK_CLIENT_KEY : ${{ vars.GROWTHBOOK_CLIENT_KEY }}
54
+ REMOTE_CONFIG_URL : ${{ vars.REMOTE_CONFIG_URL }}
54
55
55
56
- name : Build Translations
56
57
uses : " ./.github/actions/build"
57
58
with :
58
59
target : translations
59
60
RUDDERSTACK_KEY : ${{ vars.RUDDERSTACK_KEY }}
60
61
GROWTHBOOK_CLIENT_KEY : ${{ vars.GROWTHBOOK_CLIENT_KEY }}
62
+ REMOTE_CONFIG_URL : ${{ vars.REMOTE_CONFIG_URL }}
61
63
62
64
- name : " Run Tests"
63
65
run : npm run test
84
86
issue_number : ${{github.event.number}}
85
87
check_run_id : ${{steps.post_preview_build_comment.outputs.check_run_id}}
86
88
preview_url : ${{steps.publish_to_pages_branch.outputs.cf_pages_url}}
87
- status : ${{job.status}}
89
+ status : ${{job.status}}
Original file line number Diff line number Diff line change 25
25
target : production
26
26
RUDDERSTACK_KEY : ${{ vars.RUDDERSTACK_KEY }}
27
27
GROWTHBOOK_CLIENT_KEY : ${{ vars.GROWTHBOOK_CLIENT_KEY }}
28
+ REMOTE_CONFIG_URL : ${{ vars.REMOTE_CONFIG_URL }}
28
29
- name : Versioning
29
30
uses : " ./.github/actions/versioning"
30
31
with :
@@ -112,4 +113,4 @@ jobs:
112
113
uses : " deriv-com/shared-actions/.github/actions/send_slack_notification@master"
113
114
with :
114
115
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
115
- MESSAGE : ${{ steps.create_slack_message.outputs.MESSAGE }}
116
+ MESSAGE : ${{ steps.create_slack_message.outputs.MESSAGE }}
Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ jobs:
23
23
target : staging
24
24
RUDDERSTACK_KEY : ${{ vars.RUDDERSTACK_KEY }}
25
25
GROWTHBOOK_CLIENT_KEY : ${{ vars.GROWTHBOOK_CLIENT_KEY }}
26
+ REMOTE_CONFIG_URL : ${{ vars.REMOTE_CONFIG_URL }}
26
27
- name : Build Translations
27
28
uses : " ./.github/actions/build"
28
29
with :
29
30
target : translations
30
31
RUDDERSTACK_KEY : ${{ vars.RUDDERSTACK_KEY }}
31
32
GROWTHBOOK_CLIENT_KEY : ${{ vars.GROWTHBOOK_CLIENT_KEY }}
33
+ REMOTE_CONFIG_URL : ${{ vars.REMOTE_CONFIG_URL }}
32
34
- name : Versioning
33
35
uses : " ./.github/actions/versioning"
34
36
with :
67
69
VERCEL_TOKEN : ${{ secrets.VERCEL_API_TOKEN }}
68
70
ENVIRONMENT : Preview
69
71
VERCEL_SCOPE : deriv
70
- ALIAS_DOMAIN_URL : ' staging-smarttrader-dr.binary.sx'
72
+ ALIAS_DOMAIN_URL : ' staging-smarttrader-dr.binary.sx'
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const getPlugins = (app, grunt) => ([
56
56
NODE_ENV : JSON . stringify ( 'production' ) ,
57
57
GROWTHBOOK_CLIENT_KEY : JSON . stringify ( process . env . GROWTHBOOK_CLIENT_KEY ) ,
58
58
RUDDERSTACK_KEY : JSON . stringify ( process . env . RUDDERSTACK_KEY ) ,
59
+ REMOTE_CONFIG_URL : JSON . stringify ( process . env . REMOTE_CONFIG_URL ) ,
59
60
} ,
60
61
} ) ,
61
62
]
@@ -73,10 +74,11 @@ const getPlugins = (app, grunt) => ([
73
74
BUILD_HASH : JSON . stringify ( CryptoJS . MD5 ( Date . now ( ) . toString ( ) ) . toString ( ) ) ,
74
75
GROWTHBOOK_CLIENT_KEY : JSON . stringify ( process . env . GROWTHBOOK_CLIENT_KEY ) ,
75
76
RUDDERSTACK_KEY : JSON . stringify ( process . env . RUDDERSTACK_KEY ) ,
77
+ REMOTE_CONFIG_URL : JSON . stringify ( process . env . REMOTE_CONFIG_URL ) ,
76
78
} ,
77
79
} ) ,
78
80
]
79
81
) ,
80
82
] ) ;
81
83
82
- module . exports = getPlugins ;
84
+ module . exports = getPlugins ;
You can’t perform that action at this time.
0 commit comments